# Makefile
# For LON-CAPA
# Scott Harrison
# November 2000
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:
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 > LCMakefile
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
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>