version 1.199, 2011/11/08 07:40:04
|
version 1.200, 2012/01/27 23:50:57
|
Line 558 VERSION:
|
Line 558 VERSION:
|
aboutVERSION: |
aboutVERSION: |
cp -p -v $(SOURCE)/loncom/license/about.html \ |
cp -p -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 \ |
|
$(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;}' > \ |
$(SOURCE)/loncom/license/about.html.new |
$(SOURCE)/loncom/license/about.html.new |
mv -v $(SOURCE)/loncom/license/about.html.new \ |
mv -v $(SOURCE)/loncom/license/about.html.new \ |
$(SOURCE)/loncom/license/about.html |
$(SOURCE)/loncom/license/about.html |
|
touch --date="$(shell echo `perl getcvsdate.pl \ |
|
$(SOURCE)/loncom/license/CVS/Entries about.html`)" \ |
|
$(SOURCE)/loncom/license/about.html |
|
cp -p -v $(SOURCE)/loncom/loncapa_apache.conf \ |
|
$(SOURCE)/loncom/loncapa_apache.conf.orig |
cat $(SOURCE)/loncom/loncapa_apache.conf | \ |
cat $(SOURCE)/loncom/loncapa_apache.conf | \ |
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;}' > \ |
$(SOURCE)/loncom/loncapa_apache.conf.new |
$(SOURCE)/loncom/loncapa_apache.conf.new |
mv -v $(SOURCE)/loncom/loncapa_apache.conf.new \ |
mv -v $(SOURCE)/loncom/loncapa_apache.conf.new \ |
$(SOURCE)/loncom/loncapa_apache.conf |
$(SOURCE)/loncom/loncapa_apache.conf |
|
touch --date="$(shell echo `perl getcvsdate.pl \ |
|
$(SOURCE)/loncom/CVS/Entries loncapa_apache.conf`)" \ |
|
$(SOURCE)/loncom/loncapa_apache.conf |
|
|
postaboutVERSION: |
postaboutVERSION: |
if (test -e $(SOURCE)/loncom/license/about.html.orig) && \ |
if (test -e $(SOURCE)/loncom/license/about.html.orig) && \ |
(diff $(SOURCE)/loncom/license/about.html \ |
(diff $(SOURCE)/loncom/license/about.html.orig \ |
$(SOURCE)/loncom/license/about.html > /dev/null); then \ |
$(SOURCE)/loncom/license/about.html > /dev/null); then \ |
mv -v $(SOURCE)/loncom/license/about.html.orig \ |
mv -v $(SOURCE)/loncom/license/about.html.orig \ |
$(SOURCE)/loncom/license/about.html; \ |
$(SOURCE)/loncom/license/about.html; \ |
elif (test -e $(SOURCE)/loncom/license/about.html.orig) && \ |
elif (test -e $(SOURCE)/loncom/license/about.html.orig) && \ |
!(diff $(SOURCE)/loncom/license/about.html \ |
!(diff $(SOURCE)/loncom/license/about.html.orig \ |
$(SOURCE)/loncom/license/about.html > /dev/null); then \ |
$(SOURCE)/loncom/license/about.html > /dev/null); then \ |
rm -f $(SOURCE)/loncom/license/about.html.orig; \ |
rm -f $(SOURCE)/loncom/license/about.html.orig; \ |
fi |
fi |
|
touch --date="$(shell echo `perl getcvsdate.pl \ |
|
$(SOURCE)/loncom/license/CVS/Entries about.html`)" \ |
|
$(SOURCE)/loncom/license/about.html |
if (test -e $(SOURCE)/loncom/loncapa_apache.conf.orig) && \ |
if (test -e $(SOURCE)/loncom/loncapa_apache.conf.orig) && \ |
(diff $(SOURCE)/loncom/license/about.html \ |
(diff $(SOURCE)/loncom/loncapa_apache.conf.orig \ |
$(SOURCE)/loncom/license/about.html > /dev/null); then \ |
$(SOURCE)/loncom/loncapa_apache.conf > /dev/null); then \ |
mv -v $(SOURCE)/loncom/loncapa_apache.conf.orig \ |
mv -v $(SOURCE)/loncom/loncapa_apache.conf.orig \ |
$(SOURCE)/loncom/loncapa_apache.conf; \ |
$(SOURCE)/loncom/loncapa_apache.conf; \ |
elif (test -e $(SOURCE)/loncom/loncapa_apache.conf.orig) && \ |
elif (test -e $(SOURCE)/loncom/loncapa_apache.conf.orig) && \ |
!(diff $(SOURCE)/loncom/license/about.html \ |
!(diff $(SOURCE)/loncom/loncapa_apache.conf.orig \ |
$(SOURCE)/loncom/license/about.html > /dev/null); then \ |
$(SOURCE)/loncom/loncapa_apache.conf > /dev/null); then \ |
rm -f $(SOURCE)/loncom/loncapa_apache.conf.orig; \ |
rm -f $(SOURCE)/loncom/loncapa_apache.conf.orig; \ |
fi |
fi |
|
touch --date="$(shell echo `perl getcvsdate.pl \ |
|
$(SOURCE)/loncom/CVS/Entries loncapa_apache.conf`)" \ |
|
$(SOURCE)/loncom/loncapa_apache.conf |
|
|
# ========= *** Makefile.* TARGETS BUILT DYNAMICALLY FROM loncapafiles.lpml *** |
# ========= *** Makefile.* TARGETS BUILT DYNAMICALLY FROM loncapafiles.lpml *** |
|
|