--- loncom/build/Makefile 2002/02/04 23:40:47 1.63 +++ loncom/build/Makefile 2002/02/05 00:51:48 1.64 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Scott Harrison -# $Id: Makefile,v 1.63 2002/02/04 23:40:47 harris41 Exp $ +# $Id: Makefile,v 1.64 2002/02/05 00:51:48 harris41 Exp $ DIST="default" CATEGORY="development" @@ -72,6 +72,19 @@ TEST_hosts_tab: echo "(you most likely want option #1, production_hosts.tab)" && \ exit 1; \ fi + +hosts_tab: TEST_hosts_tab + cat ../../doc/loncapafiles/loncapafiles.lpml | \ + perl xfml_parse.pl ../../doc/loncapafiles/valid_hosts.xfml | \ + perl xfml_parse.pl ../../doc/loncapafiles/no_globs.xfml | \ + perl xfml_parse.pl ../../doc/loncapafiles/no_links.xfml | \ + perl lpml_parse.pl install $(CATEGORY) $(DIST) "$(SOURCE)" \ + "$(TARGET)" > Makefile.install + make -f Makefile.install files + @echo "If hosts.tab has changed, restart httpd and loncontrol:" + @echo " /etc/rc.d/init.d/httpd restart" + @echo " /etc/rc.d/init.d/loncontrol restart" + HTML: install -d HTML cp ../../doc/loncapafiles/*.gif HTML