1: CAPA_VER=4.6
2:
3: srcdist:
4: rm -f capa.src.$(CAPA_VER).tar
5: tar cvvf capa.src.$(CAPA_VER).tar Makefile
6: cd pProj;$(MAKE) "CAPA_VER=$(CAPA_VER)" capasrcdist
7: # -cd wProj;$(MAKE) "CAPA_VER=$(CAPA_VER)" capasrcdist
8: # cd Bubbler;$(MAKE) "CAPA_VER=$(CAPA_VER)" capasrcdist
9: cd Quizzer;$(MAKE) "CAPA_VER=$(CAPA_VER)" capasrcdist
10: cd Grader;$(MAKE) "CAPA_VER=$(CAPA_VER)" capasrcdist
11:
12: dist:
13: rm -f ../capa.bin.`uname`.$(CAPA_VER).tar
14: tar cvvf capa.bin.`uname`.$(CAPA_VER).tar WELCOME
15: tar uvvf capa.bin.`uname`.$(CAPA_VER).tar Makefile
16: -cd pProj;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
17: -cd wProj;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
18: -cd Quizzer;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
19: -cd Grader;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
20:
21: install:
22: rm -f /usr/local/bin/grader
23: rm -f /usr/local/bin/quizzer
24: rm -f /usr/local/lib/CAPA45/Grader/grader.tcl
25: rm -f /usr/local/lib/CAPA45/Grader/utils.tcl
26: rm -f /usr/local/lib/CAPA45/Grader/tclIndex
27: rm -f /usr/local/lib/CAPA45/Quizzer/quizzer.tcl
28: rm -f /usr/local/lib/CAPA45/Quizzer/utils.tcl
29: rm -f /usr/local/lib/CAPA45/Quizzer/tclIndex
30: rm -f /usr/local/bin/allpin
31: rm -f /usr/local/bin/qzparse
32: -mkdir -p /usr/local/bin /usr/local/lib/CAPA45/Quizzer \
33: /usr/local/lib/CAPA45/Grader
34: ln -s `pwd`/Grader/grader /usr/local/bin/grader
35: ln -s `pwd`/Grader/grader.tcl /usr/local/lib/CAPA45/Grader/grader.tcl
36: ln -s `pwd`/Grader/utils.tcl /usr/local/lib/CAPA45/Grader/utils.tcl
37: ln -s `pwd`/Grader/tclIndex /usr/local/lib/CAPA45/Grader/tclIndex
38: ln -s `pwd`/Quizzer/quizzer /usr/local/bin/quizzer
39: ln -s `pwd`/Quizzer/quizzer.tcl /usr/local/lib/CAPA45/Quizzer/quizzer.tcl
40: ln -s `pwd`/Quizzer/utils.tcl /usr/local/lib/CAPA45/Quizzer/utils.tcl
41: ln -s `pwd`/Quizzer/tclIndex /usr/local/lib/CAPA45/Quizzer/tclIndex
42: ln -s `pwd`/allpin /usr/local/bin/allpin
43: ln -s `pwd`/qzparse /usr/local/bin/qzparse
44:
45: gqdist:
46: rm -f ../capa.bin.`uname`.$(CAPA_VER).tar
47: tar cvvf capa.bin.`uname`.$(CAPA_VER).tar WELCOME
48: -cd Quizzer;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
49: -cd Grader;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
50:
51: bubblerdist:
52: rm -f ../capa.bin.`uname`.$(CAPA_VER).tar
53: tar cvvf capa.bin.`uname`.$(CAPA_VER).tar WELCOME
54: cd pProj;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
55: cd wProj;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
56: cd Bubbler;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
57: cd Quizzer;$(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
58: cd Grader; $(MAKE) "CAPA_VER=$(CAPA_VER)" capadist
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>