[LON-CAPA-cvs] cvs: loncom /build install_web_site_cronjob
raeburn
raeburn at source.lon-capa.org
Sat Jan 28 18:16:27 EST 2012
raeburn Sat Jan 28 23:16:27 2012 EDT
Modified files:
/loncom/build install_web_site_cronjob
Log:
- Adding $Id$ to show version.
- Building cvs repo uses checkout instead of export, so CVS/Entries will be
available to prevent generation of unwanted .lpmlsave files when updating.
- Include part of modules/TexConvert (compiles, cmmands tth.so and tth.pm)
to prevent WARNINGS when creating tardist.
- Update README.
Index: loncom/build/install_web_site_cronjob
diff -u loncom/build/install_web_site_cronjob:1.10 loncom/build/install_web_site_cronjob:1.11
--- loncom/build/install_web_site_cronjob:1.10 Sat Jan 28 22:46:26 2012
+++ loncom/build/install_web_site_cronjob Sat Jan 28 23:16:27 2012
@@ -1,5 +1,7 @@
#!/usr/bin/perl
+# $Id: install_web_site_cronjob,v 1.11 2012/01/28 23:16:27 raeburn Exp $
+
=pod
=head1 NAME
@@ -53,7 +55,7 @@
#`cd /home/loninst/auto; export CVS_RSH=ssh; export CVSROOT=:ext:loninst\@source.lon-capa.org:/home/cvs; rm -Rf loncapa/[C][^V]*; rm -Rf loncapa/[^C]*; cvs -Q co loncapa; cd loncapa/loncom/build; make build 2>/dev/null; make tardist;`;
# The real world. Just give them all the gunk for the unstable distribution.
-`cd /home/loninst/auto; export CVS_RSH=ssh; export CVSROOT=:ext:loninst\@source.lon-capa.org:/home/cvs; rm -Rf loncapa-unstable; rm -Rf loncapa; cvs -Q export -r HEAD loncapa;`;
+`cd /home/loninst/auto; export CVS_RSH=ssh; export CVSROOT=:ext:loninst\@source.lon-capa.org:/home/cvs; rm -Rf loncapa-unstable; rm -Rf loncapa; cvs -Q co -r HEAD loncapa; cd /home/loninst/auto/loncapa; cvs -Q co -r HEAD modules/TexConvert/tthperl/compiles; cvs -Q co -r HEAD modules/TexConvert/tthperl/commands; cp -p loncom/xml/tth.pm modules/TexConvert/tthperl/tth.pm; `;
# Generate a README file that advises them about dealing with the gunk.
open(OUT,'>/home/loninst/auto/loncapa/README');
@@ -66,6 +68,7 @@
To generate an installable tarball distribution from this file, you can
execute the following commands:
cd loncom/build
+make build
make tardist
Note that the installable tarball distribution (the 'tardist' target)
@@ -80,6 +83,18 @@
make build
make install
+In this case you will be need to create symbolic links for the following
+in loncom (unless you have done this previously):
+
+hosts.tab
+domain.tab
+dns_hosts.tab
+dns_domain.tab
+
+which will point at development_hosts.tab, development_domain.tab,
+development_dns_hosts.tab, and development_dns_domain.tab respectively
+in loncom.
+
For more information on Makefile targets, you can just enter the following
commands:
cd loncom/build
More information about the LON-CAPA-cvs
mailing list