Diff for /loncom/build/Makefile between versions 1.133 and 1.141.2.1

version 1.133, 2002/08/15 15:53:09 version 1.141.2.1, 2003/03/21 19:02:41
Line 23  SAVE=program.pl.$(TIMESTAMP) Line 23  SAVE=program.pl.$(TIMESTAMP)
 LAUNCHSAVE=$(OUTSTREAM) $(SAVE)  LAUNCHSAVE=$(OUTSTREAM) $(SAVE)
 METAMTARGET=""  METAMTARGET=""
 MTARGET=""  MTARGET=""
 VERSION=0.4  VERSION=0.6.2
 DIRTARGET=loncapa-$(VERSION)  DIRTARGET=loncapa-$(VERSION)
   
 # =============================================== Help targets for the Makefile  # =============================================== Help targets for the Makefile
Line 97  help_TARGETS: Line 97  help_TARGETS:
  @echo "           'make build' first before running 'make install'"   @echo "           'make build' first before running 'make install'"
  @echo "configinstall: install configuration files and restore with"   @echo "configinstall: install configuration files and restore with"
  @echo "               prior information"   @echo "               prior information"
  @echo "install: install from a ***compiled*** source tree   @echo "install: install from a ***compiled*** source tree"
  @echo "         (see make build) to a specified TARGET destination"   @echo "         (see make build) to a specified TARGET destination"
  @echo "         on the filesystem (default setting is TARGET=/)."   @echo "         on the filesystem (default setting is TARGET=/)."
  @echo "rawinstall: just install files, links and directories without"   @echo "rawinstall: just install files, links and directories without"
Line 145  help_TARGETS: Line 145  help_TARGETS:
  @echo "              the distributed tarball"   @echo "              the distributed tarball"
  @echo "MANIFEST_cvs: essentially a list of all CVS/Entries files used"   @echo "MANIFEST_cvs: essentially a list of all CVS/Entries files used"
  @echo "              for 'time-checking' intelligence"   @echo "              for 'time-checking' intelligence"
  @echo "MANIFEST_lpml: a list of all LON-CAPA files to be installed,   @echo "MANIFEST_lpml: a list of all LON-CAPA files to be installed,"
  @echo "               compile from, used as building software, and"   @echo "               compile from, used as building software, and"
  @echo "               testing"   @echo "               testing"
  @echo "MANIFEST_vanillatar: 'README'-type top-level files that a user"   @echo "MANIFEST_vanillatar: 'README'-type top-level files that a user"
Line 184  help_TARGETS: Line 184  help_TARGETS:
  @echo "       interfere with rebuilding/recompiling software"   @echo "       interfere with rebuilding/recompiling software"
  @echo "reallyclean: remove all files that were generated during"   @echo "reallyclean: remove all files that were generated during"
  @echo "             building or compilation of the software"   @echo "             building or compilation of the software"
    @echo "uninstall: remove all directories that do not contain files"
    @echo "           from other software packages and that do not contain"
    @echo "           student and instructor data; NOTE THAT THIS IS"
    @echo "           INTERACTIVE--you will be given a final chance"
    @echo "           to look at what will and will not be deleted."
    @echo "           Still, be careful.  This is a very new target and is"
    @echo "           an alpha-level software feature for now."
    @echo "backup: rolls a tarball backup of all important student and "
    @echo "        instructor data (NOT YET IMPLEMENTED)"
    @echo "restore: reseeds a LON-CAPA server with tarball backups "
    @echo "         generated by \"make backup\" (NOT YET IMPLEMENTED)"
  @echo "*** A HELPFUL DEPENDENCY ***"   @echo "*** A HELPFUL DEPENDENCY ***"
  @echo "alwaysrun: blank target that is a dependency for targets"   @echo "alwaysrun: blank target that is a dependency for targets"
  @echo "           that should \"always run\""   @echo "           that should \"always run\""
Line 354  reseval_fixup: Line 365  reseval_fixup:
  perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \   perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
  tee -a WARNINGS   tee -a WARNINGS
   
   clearoutoldspreadsheetcache:
    cat $(SOURCE)/doc/loncapafiles/clearoutoldspreadsheetcache.piml | \
    perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
    tee -a WARNINGS
   
 sendmail_fix:  sendmail_fix:
  cat $(SOURCE)/doc/loncapafiles/sendmail_fix.piml | \   cat $(SOURCE)/doc/loncapafiles/sendmail_fix.piml | \
  perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \   perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
Line 362  sendmail_fix: Line 378  sendmail_fix:
 postinstall:  postinstall:
  make webserverconf   make webserverconf
  make reseval_fixup   make reseval_fixup
    make clearoutoldspreadsheetcache
  make sanitycheck   make sanitycheck
  make sendmail_fix   make sendmail_fix
   
Line 483  MANIFEST_lpml: Line 500  MANIFEST_lpml:
  cat $(SOURCE)/doc/loncapafiles/testfiles.lpml | \   cat $(SOURCE)/doc/loncapafiles/testfiles.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/installfiles.lpml | \
    perl lpml_parse.pl MANIFEST development default \
    '$(SOURCE)' '$(TARGET)' | grep '[[:alnum:]]' >> $(SOURCE)/MANIFEST
  cat $(SOURCE)/doc/loncapafiles/loncapafiles.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
Line 551  RPM: BinaryRoot base_rpm_file_list Line 571  RPM: BinaryRoot base_rpm_file_list
  cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \   cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \
  perl lpml_parse.pl make_rpm $(CATEGORY) $(DIST) $(SOURCE) $(TARGET) \   perl lpml_parse.pl make_rpm $(CATEGORY) $(DIST) $(SOURCE) $(TARGET) \
  > base_customizerpm.xml   > base_customizerpm.xml
  cat base_rpm_file_list.txt | perl make_rpm.pl base 3.2 '' '' \   cat base_rpm_file_list.txt | perl make_rpm.pl base $(VERSION) 1 '' '' \
  BinaryRoot base_customizerpm.xml   BinaryRoot base_customizerpm.xml
   
 DPKG:  DPKG:
Line 747  reallyclean: Line 767  reallyclean:
  make -f Makefile.cvs clean   make -f Makefile.cvs clean
  rm -f WARNINGS   rm -f WARNINGS
   
   uninstall:
    rm -f UNINSTALL_SHELL_COMMANDS
    cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \
    perl lpml_parse.pl uninstall_shell_commands $(CATEGORY) $(DIST) \
    "$(SOURCE)" "$(TARGET)" > UNINSTALL_SHELL_COMMANDS
    @echo -n "**** NOTE **** A file \"UNINSTALL_SHELL_COMMANDS\" has been "
    @echo "generated."
    @echo "First, you should view the contents of this file."
    @echo "If you are happy with the 'rm -Rf'! commands (or at least"
    @echo "have another job lined up in case of catastrophe), then you "
    @echo "can execute the following: sh ./UNINSTALL_SHELL_COMMANDS"
   
   backup:
    @echo "Not yet implemented"
   
   restore:
    @echo "Not yet implemented"
   
 # ================================================ *** A HELPFUL DEPENDENCY ***  # ================================================ *** A HELPFUL DEPENDENCY ***
 alwaysrun:  alwaysrun:

Removed from v.1.133  
changed lines
  Added in v.1.141.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>