--- loncom/build/Makefile 2002/02/20 00:23:24 1.70 +++ loncom/build/Makefile 2002/03/03 04:30:00 1.75 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Scott Harrison -# $Id: Makefile,v 1.70 2002/02/20 00:23:24 harris41 Exp $ +# $Id: Makefile,v 1.75 2002/03/03 04:30:00 harris41 Exp $ DIST="default" CATEGORY="development" @@ -180,9 +180,7 @@ warningnote: echo "!!!! Please read the WARNINGS file !!!!"; \ echo "!!!! to make sure everything is !!!!"; \ echo "!!!! correct and taken care of !!!!"; \ - echo "!!!! (it is output below here) !!!!"; \ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; \ - cat WARNINGS; \ fi NET_webserverconf: @@ -193,8 +191,13 @@ webserverconf: cat ../../doc/loncapafiles/webserver.piml | \ perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) +sanitycheck: + cat ../../doc/loncapafiles/sanitycheck.piml | \ + perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) + postinstall: make webserverconf + make sanitycheck install: TEST_hosts_tab Makefile.install Makefile echo -n "" > WARNINGS @@ -204,6 +207,7 @@ install: TEST_hosts_tab Makefile.install make -f Makefile.install SOURCE="$(SOURCE)" TARGET="$(TARGET)" links make SOURCE="$(SOURCE)" TARGET="$(TARGET)" \ NORESTORECONF="$(NORESTORECONF)" configinstall + make postinstall make warningnote Makefile.install: ../../doc/loncapafiles/loncapafiles.lpml lpml_parse.pl @@ -254,30 +258,6 @@ base_rpm_file_list: BinaryRoot: base_rpm_file_list make TARGET='BinaryRoot' NORESTORECONF='1' install -loncapaconfig: - rm -Rf LoncapaconfigRoot - install -d LoncapaconfigRoot/usr/src/ - install -d LoncapaconfigRoot/usr/lib/python1.5/site-packages - install /usr/lib/python1.5/site-packages/kudzumodule.so \ - LoncapaconfigRoot/usr/lib/python1.5/site-packages/kudzumodule.so - cd LoncapaconfigRoot/usr/src; cp -pR /mnt/drive/loncapaconfig . - install -d LoncapaconfigRoot/usr/sbin - @echo -e "#!/bin/sh\ncd /usr/src/loncapaconfig/usr/bin; \ - ./loncapaconfig\n" > LoncapaconfigRoot/usr/sbin/loncapaconfig - chmod u+x LoncapaconfigRoot/usr/sbin/loncapaconfig - find LoncapaconfigRoot -type d | xargs chmod o-wxr - find LoncapaconfigRoot -type f | xargs chmod o-wxr - find LoncapaconfigRoot/ -type d | grep 'src/lon' > \ - loncapaconfig_file_list.txt - find LoncapaconfigRoot/ -type d | grep \ - '^LoncapaconfigRoot/usr/lib/python1.5/site-packages' >> \ - loncapaconfig_file_list.txt - find LoncapaconfigRoot/ -type f >> loncapaconfig_file_list.txt - cat loncapaconfig_file_list.txt | perl make_rpm.pl loncapaconfig 3.1 \ - '' '' LoncapaconfigRoot - cp LON-CAPA-loncapaconfig-3.1-1.i386.rpm \ - /mnt/drive/install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/. - # Generates CVS:loncom/build/docs; root location of install.lon-capa.org doc: install -d docs