UTF-8, untabify, whitespaces.
[binary-types.git] / Makefile
1 ######################################################################
2 ## 
3 ##    Copyright (C) 2001,2000,1999, 2003
4 ##    Department of Computer Science, University of Tromsø, Norway
5 ## 
6 ## Filename:      Makefile
7 ## Author:        Frode Vatvedt Fjeld <frodef@acm.org>
8 ## Created at:    Wed Sep 29 19:28:52 1999
9 ##                
10 ## $Id: Makefile,v 1.1.1.1 2004/01/13 11:13:13 ffjeld Exp $
11 ##                
12 ######################################################################
13
14 SCP = scp -oProtocol=1
15 SSH = ssh -1
16 DIST_EXTRAS = README README-bitfield ChangeLog COPYING type-hierarchy.ps type-hierarchy.png
17
18 dist: binary-types.lisp $(DIST_EXTRAS)
19         @ if [ ! "${VER}" ]; then echo 'You must set $$VER!'; exit 5; fi
20         mkdir binary-types-$(VER)
21         cp *.lisp $(DIST_EXTRAS) binary-types-$(VER)
22         tar czf binary-types-$(VER).tar.gz binary-types-$(VER)
23         rm -rf binary-types-$(VER)
24
25 updist: dist
26         - $(SSH) www.stud "mv www/sw/binary-types/*.tar.gz www/sw/binary-types/old"
27         $(SCP) binary-types-$(VER).tar.gz www.stud:www/sw/binary-types/
28         $(SCP) $(DIST_EXTRAS) www.stud:www/sw/binary-types/
29         @ echo "Remember cvs TAG REL_x_xx"
30
31 repdist: dist
32         - $(SSH) www.stud "rm www/sw/binary-types/*.tar.gz"
33         $(SCP) binary-types-$(VER).tar.gz www.stud:www/sw/binary-types/
34         $(SCP) $(DIST_EXTRAS) www.stud:www/sw/binary-types/
35         @ echo "Remember cvs TAG REL_x_xx"
36
37 clean:
38         rm -f *.fasl memdump *~
39
40 force:
41