version 1.190.8.7, 2011/11/08 21:46:11
|
version 1.194, 2011/03/10 16:08:20
|
Line 13 DIST=$(DISTPROBE)
|
Line 13 DIST=$(DISTPROBE)
|
CATEGORY="development" |
CATEGORY="development" |
SOURCE=../.. |
SOURCE=../.. |
TARGET="" |
TARGET="" |
CURRSHELL=`echo $(SHELL)` |
|
ifneq ('/bin/bash',${CURRSHELL}) |
|
CURRSHELL=/bin/bash |
|
endif |
|
NORESTORECONF="0" |
NORESTORECONF="0" |
HOSTNAME="" |
HOSTNAME="" |
LAUNCH=| perl |
LAUNCH=| perl |
Line 26 SAVE=program.pl.$(TIMESTAMP)
|
Line 22 SAVE=program.pl.$(TIMESTAMP)
|
LAUNCHSAVE=$(OUTSTREAM) $(SAVE) |
LAUNCHSAVE=$(OUTSTREAM) $(SAVE) |
METAMTARGET="" |
METAMTARGET="" |
MTARGET="" |
MTARGET="" |
VERSION=2.10.1 |
VERSION=CVS_HEAD |
SHOWVERSION=$(VERSION) |
SHOWVERSION=$(VERSION) |
NEXTVERSION=2.11 |
NEXTVERSION=2.11 |
ifeq (CVS_HEAD,${VERSION}) |
ifeq (CVS_HEAD,${VERSION}) |
Line 136 help_TARGETS:
|
Line 132 help_TARGETS:
|
@echo " nohist_reseval.db to nohist_accesscount.db." |
@echo " nohist_reseval.db to nohist_accesscount.db." |
@echo "modify_config_files: Perform automatic update of the " |
@echo "modify_config_files: Perform automatic update of the " |
@echo " configuration files for yum and MySQL." |
@echo " configuration files for yum and MySQL." |
@echo "langcheck: test to see if root bash and OS are using English." |
|
@echo "ntpcheck: test to see if ntp is installed and running." |
@echo "ntpcheck: test to see if ntp is installed and running." |
@echo "html_parser_check: test functionality of HTML::Parser." |
@echo "html_parser_check: test functionality of HTML::Parser." |
@echo "math_random_check: test functionality of Math::Random." |
@echo "math_random_check: test functionality of Math::Random." |
Line 331 install: buildflag VERSION TEST_hosts_ta
|
Line 326 install: buildflag VERSION TEST_hosts_ta
|
NORESTORECONF="$(NORESTORECONF)" configinstall |
NORESTORECONF="$(NORESTORECONF)" configinstall |
make postinstall |
make postinstall |
make warningnote |
make warningnote |
# @echo "You can now run 'make test' to see if your system is ready to go!" |
@echo "You can now run 'make test' to see if your system is ready to go!" |
# @echo "NOTE THAT YOUR SYSTEM MUST HAVE MYSQL WITH A USER=\"www\" AND" |
# @echo "NOTE THAT YOUR SYSTEM MUST HAVE MYSQL WITH A USER=\"www\" AND" |
# @echo -n "PASSWORD=\"localhostkey\" FOR www\@localhost" |
# @echo -n "PASSWORD=\"localhostkey\" FOR www\@localhost" |
# @echo -n "(YOU MAY NEED TO REINITIALIZE YOUR MYSQL www\@localhost USER)" |
# @echo -n "(YOU MAY NEED TO REINITIALIZE YOUR MYSQL www\@localhost USER)" |
Line 399 tardist:
|
Line 394 tardist:
|
rm -f $(SOURCE)/tar_WARNINGS |
rm -f $(SOURCE)/tar_WARNINGS |
make warningnote |
make warningnote |
|
|
langcheck: |
|
cat $(SOURCE)/doc/loncapafiles/langcheck.piml | \ |
|
perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \ |
|
tee -a WARNINGS |
|
|
|
ntpcheck: |
ntpcheck: |
cat $(SOURCE)/doc/loncapafiles/ntpcheck.piml | \ |
cat $(SOURCE)/doc/loncapafiles/ntpcheck.piml | \ |
perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \ |
perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \ |
Line 531 postinstall:
|
Line 521 postinstall:
|
make update_queue_slots |
make update_queue_slots |
make modify_config_files |
make modify_config_files |
make clearoutoldspreadsheetcache |
make clearoutoldspreadsheetcache |
make langcheck |
|
make chkconfig |
make chkconfig |
make rpmcheck |
make rpmcheck |
make ntpcheck |
make ntpcheck |
Line 546 postinstall:
|
Line 535 postinstall:
|
make picins_check |
make picins_check |
make mimetex_version_check |
make mimetex_version_check |
make verify_domconfiguser |
make verify_domconfiguser |
make latex_fmtutil |
make latex_fmtutil |
VERSION: |
VERSION: |
install -d $(TARGET)/etc |
install -d $(TARGET)/etc |
echo -n "LON-CAPA release $(VERSION)-" > $(TARGET)/etc/loncapa-release |
echo -n "LON-CAPA release $(VERSION)-" > $(TARGET)/etc/loncapa-release |
Line 556 VERSION:
|
Line 545 VERSION:
|
date +"%Y%m%d" >> $(TARGET)/home/httpd/html/lon-status/version.txt |
date +"%Y%m%d" >> $(TARGET)/home/httpd/html/lon-status/version.txt |
|
|
aboutVERSION: |
aboutVERSION: |
cp -p -v $(SOURCE)/loncom/license/about.html \ |
cp -v $(SOURCE)/loncom/license/about.html \ |
$(SOURCE)/loncom/license/about.html.orig |
$(SOURCE)/loncom/license/about.html.orig |
cp -p -v $(SOURCE)/loncom/loncapa_apache.conf \ |
cp -v $(SOURCE)/loncom/loncapa_apache.conf \ |
$(SOURCE)/loncom/loncapa_apache.conf.orig |
$(SOURCE)/loncom/loncapa_apache.conf.orig |
cat $(SOURCE)/loncom/license/about.html | \ |
cat $(SOURCE)/loncom/license/about.html | \ |
perl -e '$$d=`date +"%Y%m%d%H"`;chomp($$d);while(<>){s/(\<\!\-\- VERSION \-\-\>|\d+\.\d+\.CVS_HEAD\-\d{10})/$(SHOWVERSION)-$$d/; print;}' > \ |
perl -e '$$d=`date +"%Y%m%d%H"`;chomp($$d);while(<>){s/(\<\!\-\- VERSION \-\-\>|\d+\.\d+\.CVS_HEAD\-\d{10})/$(SHOWVERSION)-$$d/; print;}' > \ |
Line 604 Makefile.configinstall: $(SOURCE)/doc/lo
|
Line 593 Makefile.configinstall: $(SOURCE)/doc/lo
|
Makefile.build: $(SOURCE)/doc/loncapafiles/loncapafiles.lpml lpml_parse.pl |
Makefile.build: $(SOURCE)/doc/loncapafiles/loncapafiles.lpml lpml_parse.pl |
cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \ |
cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \ |
perl lpml_parse.pl build $(CATEGORY) $(DIST) "$(SOURCE)" "$(TARGET)" \ |
perl lpml_parse.pl build $(CATEGORY) $(DIST) "$(SOURCE)" "$(TARGET)" \ |
"$(CURRSHELL)" > Makefile.build |
> Makefile.build |
|
|
Makefile.install: alwaysrun |
Makefile.install: alwaysrun |
cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \ |
cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \ |