1: # Makefile
2: # For LON-CAPA
3: # Scott Harrison
4: # November 2000
5:
6: all:
7: # nothing yet here
8:
9: cd:
10: # make sure there is enough disk space
11: # copy cd image from install.lon-capa.org (wget -r)
12: # add in appropriate files from CVS
13: # compile cd image (mkisofs)
14:
15: cd_cover:
16:
17: HTML:
18: install -d HTML
19: cp ../../doc/loncapafiles/*.gif HTML
20: perl parse.pl ../../doc/loncapafiles/loncapafiles.html HTML > HTML/index.html
21:
22: status:
23: install -d HTML
24: cp ../../doc/loncapafiles/*.gif HTML
25: perl parse.pl ../../doc/loncapafiles/loncapafiles.html status > HTML/filestatus.html
26:
27: LCMakefile:
28: perl parse.pl ../../doc/loncapafiles/loncapafiles.html LCMakefile > LCMakefile
29:
30: SPEC:
31: perl parse.pl ../../doc/loncapafiles/loncapafiles.html SPEC
32:
33: configinstall:
34: # there is a dependency on having directories in place, but oh well...
35: perl parse.pl ../../doc/loncapafiles/loncapafiles.html configinstall > Makefile.configinstall
36: make -f Makefile.configinstall SOURCE="../.." TARGET="" configfiles
37: perl loncaparestoreconfigurations lasttimestamp
38: make -f Makefile.configinstall TARGET="" configpermissions
39:
40: install: build
41: perl parse.pl ../../doc/loncapafiles/loncapafiles.html install > Makefile.install
42: make -f Makefile.install SOURCE="../.." TARGET="" directories
43: make -f Makefile.install SOURCE="../.." TARGET="" files
44: make -f Makefile.install SOURCE="../.." TARGET="" links
45:
46: build:
47: perl parse.pl ../../doc/loncapafiles/loncapafiles.html build > Makefile.build
48: make -f Makefile.build all
49:
50: RPM: BinaryRoot
51: cat base_file_list.txt | perl make_rpm.pl base 3.1 '' '' BinaryRoot
52:
53: BinaryRoot:
54: perl parse.pl ../../doc/loncapafiles/loncapafiles.html BinaryRoot
55:
56: clean:
57: rm -Rf HTML
58: rm -f *.spec
59: rm -f LCMakefile
60: rm -Rf BinaryRoot
61: rm -f Makefile.BinaryRoot
62: rm -f Makefile.build
63: rm -f Makefile.install
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>