Makefile
 1 # $Id: Makefile,v 1.3 2004/07/08 19:31:22 scaekenberghe Exp $
2
3 default:
4 @echo Possible targets:
5 @echo clean-openmcl --- remove all '*.dfsl' recursively
6 @echo clean-lw --- remove all '*.nfasl' recursively
7 @echo clean-emacs --- remove all '*~' recursively
8 @echo clean --- all of the above
9
10 clean-openmcl:
11 find . -name "*.dfsl" | xargs rm
12
13 clean-lw:
14 find . -name "*.nfasl" | xargs rm
15
16 clean-emacs:
17 find . -name "*~" | xargs rm
18
19 clean: clean-openmcl clean-lw clean-emacs
20
21 #
22 # This can obviously only be done by a specific person in a very specific context ;-)
23 #
24
25 PRJ=s-xml
26 ACCOUNT=scaekenberghe
27 CVSRT=:ext:$(ACCOUNT)@common-lisp.net:/project/$(PRJ)/cvsroot
28
29 release:
30 rm -rf /tmp/$(PRJ) /tmp/public_html /tmp/$(PRJ).tgz /tmp/$(PRJ).tgz.asc
31 cd /tmp; cvs -d$(CVSRT) export -r HEAD $(PRJ); cvs -d$(CVSRT) export -r HEAD public_html
32 mv /tmp/public_html /tmp/$(PRJ)/doc
33 cd /tmp; gnutar cvfz $(PRJ).tgz $(PRJ); gpg -a -b $(PRJ).tgz
34 scp /tmp/$(PRJ).tgz $(ACCOUNT)@common-lisp.net:/project/$(PRJ)/public_html
35 scp /tmp/$(PRJ).tgz.asc $(ACCOUNT)@common-lisp.net:/project/$(PRJ)/public_html