Makefile 1.35 KB
Newer Older
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
######################################################################
## 
##    Copyright (C) 2001,2000,1999, 2003
##    Department of Computer Science, University of Troms, Norway
## 
## Filename:      Makefile
## Author:        Frode Vatvedt Fjeld <frodef@acm.org>
## Created at:    Wed Sep 29 19:28:52 1999
##                
## $Id: Makefile,v 1.11 2003/12/11 11:34:45 frodef Exp $
##                
######################################################################

SCP = scp -oProtocol=1
SSH = ssh -1
DIST_EXTRAS = README README-bitfield ChangeLog COPYING type-hierarchy.ps type-hierarchy.png

dist: binary-types.lisp $(DIST_EXTRAS)
	@ if [ ! "${VER}" ]; then echo 'You must set $$VER!'; exit 5; fi
	mkdir binary-types-$(VER)
	cp *.lisp $(DIST_EXTRAS) binary-types-$(VER)
	tar czf binary-types-$(VER).tar.gz binary-types-$(VER)
	rm -rf binary-types-$(VER)

updist: dist
	- $(SSH) www.stud "mv www/sw/binary-types/*.tar.gz www/sw/binary-types/old"
	$(SCP) binary-types-$(VER).tar.gz www.stud:www/sw/binary-types/
	$(SCP) $(DIST_EXTRAS) www.stud:www/sw/binary-types/
	@ echo "Remember cvs TAG REL_x_xx"

repdist: dist
	- $(SSH) www.stud "rm www/sw/binary-types/*.tar.gz"
	$(SCP) binary-types-$(VER).tar.gz www.stud:www/sw/binary-types/
	$(SCP) $(DIST_EXTRAS) www.stud:www/sw/binary-types/
	@ echo "Remember cvs TAG REL_x_xx"

clean:
	rm -f *.fasl memdump *~

force: