-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
63 lines (53 loc) · 1.4 KB
/
Makefile
File metadata and controls
63 lines (53 loc) · 1.4 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Makefile -*- mode: Fundamental;-*-
# $Header: /space/home/eng/cjm/cvs/dprt/Makefile,v 1.4 2025-02-03 13:40:54 cjm Exp $
include ../Makefile.common
include Makefile.common
DIRS = java test latex
top:
@for i in $(DIRS); \
do \
(echo making in $$i...; cd $$i; $(MAKE) ); \
done;
checkin:
-@for i in $(DIRS); \
do \
(echo checkin in $$i...; cd $$i; $(MAKE) checkin; $(CI) $(CI_OPTIONS) Makefile); \
done;
checkout:
@for i in $(DIRS); \
do \
(echo checkout in $$i...; cd $$i; $(CO) $(CO_OPTIONS) Makefile; $(MAKE) checkout); \
done;
depend:
echo No depend rule in dprt...
clean:
$(RM) $(RM_OPTIONS) $(TIDY_OPTIONS)
@for i in $(DIRS); \
do \
(echo clean in $$i...; cd $$i; $(MAKE) clean); \
done;
tidy:
$(RM) $(RM_OPTIONS) $(TIDY_OPTIONS)
@for i in $(DIRS); \
do \
(echo tidy in $$i...; cd $$i; $(MAKE) tidy); \
done;
# because of the checkin dependancy, you couldn't call make in a subdirectory in this rule.
# Now that CI_OPTIONS is -u the Makefiles are left checked out unlocked, so you can now.
backup: tidy checkin
@for i in $(DIRS); \
do \
(echo backup in $$i...; cd $$i; $(MAKE) backup); \
done;
tar cvf $(BACKUP_DIR)/dprt.tar .
compress $(BACKUP_DIR)/dprt.tar
# $Log: not supported by cvs2svn $
# Revision 1.3 2001/05/15 16:44:52 cjm
# Changed depend rule.
#
# Revision 1.2 2001/05/15 16:41:06 cjm
# Directory changes.
#
# Revision 1.1 1999/12/10 12:26:20 cjm
# Initial revision
#