source: trunk/third/lprng/doc/Makefile @ 14517

Revision 14517, 1.9 KB checked in by mwhitson, 25 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14516, which included commits to RCS files with non-trunk default branches.
Line 
1###########################################################################
2# LPRng - An Extended Print Spooler System
3#
4# Copyright 1988-1995 Patrick Powell, San Diego State University
5#     papowell@sdsu.edu
6# See LICENSE for conditions of use.
7#
8###########################################################################
9# MODULE: UTILS/Makefile
10# PURPOSE: generate utilities
11# $Id: Makefile,v 1.1.1.2 2000-03-31 15:56:06 mwhitson Exp $
12##########################################################################
13
14
15all:
16        $(MAKE) MAKETARGET=$@ $(ALLDIRS)
17
18.PHONY: all clean ci install FRC realclean mostlyclean distclean
19
20realclean mostlyclean distclean clean:
21        $(MAKE) MAKETARGET=$@ $(ALLDIRS)
22install:
23        $(MAKE) MAKETARGET=$@ $(ALLDIRS)
24
25ALLDIRS = Macros
26
27$(ALLDIRS): FRC
28        (cd $@; $(MAKE) $(MAKETARGET))
29FRC:
30
31
32Install.txt: Install.nroff
33        typeset -O$@ $^
34Install.ps: Install.nroff
35        typeset -rt1 -Tps -O$@ $^
36
37DIRS= Install Intro
38
39
40ci cifast:
41        for i in $(ALLDIRS) ; do \
42                if test ! -d $$i/RCS ; then \
43                        mkdir $$i/RCS ; \
44                fi; \
45        done;
46        checkin() { \
47                ci $(CI) -l -mUpdate -t-Initial $$1; \
48        }; \
49        for i in * ; do \
50                if [ -f "$$i" ] ; then \
51                        case $$i in \
52                        *.txt | *.ps ) ;; \
53                        * ) checkin $$i ;; \
54                        esac; \
55                fi; \
56        done;
57        checkin() { \
58                ci $(CI) -l -mUpdate -t-Initial $$1; \
59        }; \
60        for i in */* ; do \
61                if [ -f "$$i" ] ; then \
62                        case $$i in \
63                        *.txt | *.ps | *RCS* | *,v ) ;; \
64                        * ) checkin $$i ;; \
65                        esac; \
66                fi; \
67        done;
68
69update:
70
71dist_list:
72        echo RCS >/tmp/X
73        if [ -n "$$NO" ]; then \
74                for i in $$NO ; do \
75                        echo "*/$$i"  >>/tmp/X; \
76                done; \
77        fi;
78        echo '*core' >>/tmp/X
79        echo '*.orig' >>/tmp/X
80        echo '*.bak' >>/tmp/X
81        echo '*.rej' >>/tmp/X
82        echo '?' >>/tmp/X
83        echo '*.o' >>/tmp/X
84        echo '*.a' >>/tmp/X
85        echo '*,v' >>/tmp/X
86
87#       cat /tmp/X
88
89dist: dist_list
90        DIR=`pwd | sed 's,.*/,,' `; \
91                cd ..; \
92                tar zXcf /tmp/X $${DIR}.tgz $${DIR}; \
93                md5 $${DIR}.tgz | pgp -fast -u papowell@astart > $${DIR}.tgz.md5
Note: See TracBrowser for help on using the repository browser.