Skip to content
Newer
Older
100644 46 lines (31 sloc) 869 Bytes
21abc5b @klacke Initial revision
authored
1 SUBDIRS = src scripts
2
3
4 all:
5 @set -e ; \
6 for d in $(SUBDIRS) ; do \
7 if [ -f $$d/Makefile ]; then ( cd $$d && $(MAKE) ) || exit 1 ; fi ; \
8 done
9
10 clean:
11 @for d in $(SUBDIRS) ; do \
12 if [ -f $$d/Makefile ]; then ( cd $$d && $(MAKE) clean ) fi ; \
13 done
14
15
16 install:
17 @for d in $(SUBDIRS) ; do \
f0b4192 @klacke ""
authored
18 if [ -f $$d/Makefile ]; then ( cd $$d && $(MAKE) install ) fi ; \
21abc5b @klacke Initial revision
authored
19 done
20
b215385 @klacke ""
authored
21 touch:
22 find . -name '*' -print | xargs touch -m
23 find . -name '*.erl' -print | xargs touch -m
24
25
961926f @klacke ""
authored
26 cvstag:
b215385 @klacke ""
authored
27 . vsn.mk; \
28 CVS_RSH=ssh; \
d69e4d8 @klacke ""
authored
29 Y=`echo $$(YAWS_VSN) | sed 's/./-/g'` ;\
30 cvs tag yaws-$$(Y) . ;\
961926f @klacke ""
authored
31 echo "TAGGED $$(Y)"
32
33
34 tar:
35 . vsn.mk; \
36 CVS_RSH=ssh; \
37 Y=`echo $$(YAWS_VSN) | sed 's/./-/g'` ;\
d69e4d8 @klacke ""
authored
38 [ -d tmp ] && rm -rf tmp ; \
39 (cd ..; cvs export -d tmp .; cd tmp; mv yaws yaws-$$(YAWS_VSN); \
40 tar cfz yaws-$$(YAWS_VSN).tar.gz yaws-$$(YAWS_VSN) \;
41 mv yaws-$$(YAWS_VSN) .. )
42
43
44
961926f @klacke ""
authored
45
Something went wrong with that request. Please try again.