[go: up one dir, main page]

File: rcs

package info (click to toggle)
cook 2.10-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,856 kB
  • ctags: 3,842
  • sloc: ansic: 47,714; sh: 12,150; makefile: 4,317; yacc: 3,104; awk: 154
file content (38 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * NAME
 *	rcs - extract files from RCS
 *
 * DESCRIPTION
 *	This cookbook is used to extract files from RCS
 *
 * RECIPES
 *	%: RCS/%,v	extract files from RCS
 *	%: %,v		extract files from RCS
 *
 * VARIABLES
 *	co		the RCS checkout command
 *	co_flags	flags for the co command, default empty
 *
 * MANIFEST: cookbook for using RCS
 */

#pragma once

if [not [defined co]] then
	co = co;
if [not [defined co_flags]] then
	co_flags = ;

%0%: %0RCS/%,v
	set no-implicit-ingredients
	if [exists %0RCS/%,v]
{
	[co] [co_flags] %0RCS/%,v %0%;
}

%0%: %0%,v
	set no-implicit-ingredients
	if [exists %0%,v]
{
	[co] [co_flags] %0%,v %0%;
}