--- loncom/build/Makefile 2000/12/05 15:30:47 1.2 +++ loncom/build/Makefile 2000/12/16 14:56:31 1.11 @@ -3,18 +3,61 @@ # Scott Harrison # November 2000 -all: LON-CAPA-base cd cd_cover - -LON-CAPA-base: +all: + # nothing yet here cd: + # make sure there is enough disk space + # copy cd image from install.lon-capa.org (wget -r) + # add in appropriate files from CVS + # compile cd image (mkisofs) cd_cover: -system: +HTML: + install -d HTML + cp ../../doc/loncapafiles/*.gif HTML + perl parse.pl ../../doc/loncapafiles/loncapafiles.html HTML > HTML/index.html + +status: + install -d HTML + cp ../../doc/loncapafiles/*.gif HTML + perl parse.pl ../../doc/loncapafiles/loncapafiles.html status > HTML/filestatus.html LCMakefile: - perl parse.pl ../../doc/loncapafiles/loncapafiles.html > LCMakefile + perl parse.pl ../../doc/loncapafiles/loncapafiles.html LCMakefile > LCMakefile -clean: +SPEC: + perl parse.pl ../../doc/loncapafiles/loncapafiles.html SPEC + +configinstall: + # there is a dependency on having directories in place, but oh well... + perl parse.pl ../../doc/loncapafiles/loncapafiles.html configinstall > Makefile.configinstall + make -f Makefile.configinstall SOURCE="../.." TARGET="" configfiles + perl loncaparestoreconfigurations lasttimestamp + make -f Makefile.configinstall TARGET="" configpermissions + +install: build + perl parse.pl ../../doc/loncapafiles/loncapafiles.html install > Makefile.install + make -f Makefile.install SOURCE="../.." TARGET="" directories + make -f Makefile.install SOURCE="../.." TARGET="" files + make -f Makefile.install SOURCE="../.." TARGET="" links + +build: + perl parse.pl ../../doc/loncapafiles/loncapafiles.html build > Makefile.build + make -f Makefile.build all +RPM: BinaryRoot + cat base_file_list.txt | perl make_rpm.pl base 3.1 '' '' BinaryRoot + +BinaryRoot: + perl parse.pl ../../doc/loncapafiles/loncapafiles.html BinaryRoot + +clean: + rm -Rf HTML + rm -f *.spec + rm -f LCMakefile + rm -Rf BinaryRoot + rm -f Makefile.BinaryRoot + rm -f Makefile.build + rm -f Makefile.install