[go: up one dir, main page]

File: rcs

package info (click to toggle)
cook 2.29-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,656 kB
  • ctags: 4,083
  • sloc: ansic: 47,636; sh: 14,376; makefile: 4,656; yacc: 3,166; perl: 224; awk: 219
file content (39 lines) | stat: -rw-r--r-- 793 bytes parent folder | download
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
39
/*
 * 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
 * Copyright (C) 1997-2007 Peter Miller
 */

#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%;
}