about summary refs log tree commit diff
path: root/third_party/lisp/s-xml/Makefile
blob: 0c7292ea9fb5bce8d8ce3b838e5fe3ffc43ad78a (plain) (blame)
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
# $Id: Makefile,v 1.2 2004/06/11 13:46:48 scaekenberghe Exp $

default:
	@echo Possible targets:
	@echo clean-openmcl --- remove all '*.dfsl' recursively
	@echo clean-lw --- remove all '*.nfasl' recursively
	@echo clean-emacs --- remove all '*~' recursively
	@echo clean --- all of the above

clean-openmcl:
	find . -name "*.dfsl" | xargs rm

clean-lw:
	find . -name "*.nfasl" | xargs rm

clean-emacs:
	find . -name "*~" | xargs rm

clean: clean-openmcl clean-lw clean-emacs

#
# This can obviously only be done by a specific person in a very specific context ;-)
#

PRJ=s-xml
ACCOUNT=scaekenberghe
CVSRT=:ext:$(ACCOUNT)@common-lisp.net:/project/$(PRJ)/cvsroot

release:
	rm -rf /tmp/$(PRJ) /tmp/public_html /tmp/$(PRJ).tgz /tmp/$(PRJ).tgz.asc
	cd /tmp; cvs -d$(CVSRT) export -r HEAD $(PRJ); cvs -d$(CVSRT) export -r HEAD public_html
	mv /tmp/public_html /tmp/$(PRJ)/doc
	cd /tmp; gnutar cvfz $(PRJ).tgz $(PRJ); gpg -a -b $(PRJ).tgz
	scp /tmp/$(PRJ).tgz $(ACCOUNT)@common-lisp.net:/project/$(PRJ)/public_html
	scp /tmp/$(PRJ).tgz.asc $(ACCOUNT)@common-lisp.net:/project/$(PRJ)/public_html