version 1.82, 2002/04/22 17:41:20
|
version 1.88, 2002/04/26 15:11:17
|
Line 53 help:
|
Line 53 help:
|
@echo "RPM: build LON-CAPA-base RPM from CVS repository" |
@echo "RPM: build LON-CAPA-base RPM from CVS repository" |
@echo "setup_RPM: build LON-CAPA-setup RPM from CVS repository" |
@echo "setup_RPM: build LON-CAPA-setup RPM from CVS repository" |
@echo " handy for CD-ROM generation" |
@echo " handy for CD-ROM generation" |
|
@echo "tardist: build a tarball that will upgrade the software on a " |
|
@echo " system" |
|
|
test: TEST_lpml_scripts TEST_system_dependencies TEST_web_layer |
test: TEST_lpml_scripts TEST_system_dependencies TEST_web_layer |
@echo "ALL SYSTEM DEPENDENCY TESTS SUCCESSFUL" |
@echo "ALL SYSTEM DEPENDENCY TESTS SUCCESSFUL" |
Line 352 documentation_tree: cvsreport
|
Line 354 documentation_tree: cvsreport
|
rm -Rf docs |
rm -Rf docs |
|
|
tardist: |
tardist: |
cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \ |
cat $(SOURCE)/doc/loncapafiles/buildfiles.lpml | \ |
perl lpml_parse.pl MANIFEST development default \ |
perl lpml_parse.pl MANIFEST development default \ |
'$(SOURCE)' '$(TARGET)' | grep '[[:alnum:]]' > $(SOURCE)/MANIFEST |
'$(SOURCE)' '$(TARGET)' | grep '[[:alnum:]]' > $(SOURCE)/MANIFEST |
cat $(SOURCE)/doc/loncapafiles/buildfiles.lpml | \ |
cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \ |
perl lpml_parse.pl MANIFEST development default \ |
perl lpml_parse.pl MANIFEST development default \ |
'$(SOURCE)' '$(TARGET)' | grep '[[:alnum:]]' >> $(SOURCE)/MANIFEST |
'$(SOURCE)' '$(TARGET)' | grep '[[:alnum:]]' >> $(SOURCE)/MANIFEST |
echo 'README' >> $(SOURCE)/MANIFEST |
echo 'README' >> $(SOURCE)/MANIFEST |
echo 'UPDATE' >> $(SOURCE)/MANIFEST |
echo 'UPDATE' >> $(SOURCE)/MANIFEST |
echo 'TEST' >> $(SOURCE)/MANIFEST |
echo 'TEST' >> $(SOURCE)/MANIFEST |
|
echo 'MANIFEST' >> $(SOURCE)/MANIFEST |
|
echo 'doc/man' >> $(SOURCE)/MANIFEST |
|
echo 'doc/lib' >> $(SOURCE)/MANIFEST |
|
echo 'doc/lib/perl' >> $(SOURCE)/MANIFEST |
|
echo 'doc/lib/perl/Apache' >> $(SOURCE)/MANIFEST |
|
echo 'doc/scripts' >> $(SOURCE)/MANIFEST |
echo '#!/bin/sh' > $(SOURCE)/UPDATE |
echo '#!/bin/sh' > $(SOURCE)/UPDATE |
echo 'cd loncom/build; make build; make install' >> $(SOURCE)/UPDATE |
echo 'cd loncom/build; make build; make install' >> $(SOURCE)/UPDATE |
echo '#!/bin/sh' > $(SOURCE)/TEST |
echo '#!/bin/sh' > $(SOURCE)/TEST |
Line 369 tardist:
|
Line 377 tardist:
|
chmod a+rx $(SOURCE)/TEST |
chmod a+rx $(SOURCE)/TEST |
cp $(SOURCE)/doc/shortest_path_redhat7.2.txt $(SOURCE)/README |
cp $(SOURCE)/doc/shortest_path_redhat7.2.txt $(SOURCE)/README |
cd $(SOURCE); \ |
cd $(SOURCE); \ |
tar --numeric-owner --files-from MANIFEST -czf loncapa.tar.gz \ |
tar --no-recursion --numeric-owner --files-from MANIFEST \ |
2>WARNINGS || [ "0" == "0" ] |
-czf loncapa.tar.gz 2>WARNINGS || [ "0" == "0" ] |
cat $(SOURCE)/WARNINGS | \ |
cat $(SOURCE)/WARNINGS | \ |
xargs --replace=XXX echo '**** WARNING **** XXX' > WARNINGS |
xargs --replace=XXX echo '**** WARNING **** XXX' > WARNINGS |
rm -f $(SOURCE)/WARNINGS |
rm -f $(SOURCE)/WARNINGS |