Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/conf Makefile

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/conf Makefile

Author stack
Full name Michael Stack
Date 2000-10-17 09:58:40 PDT
Message User: stack
  Date: 00/10/17 09:58:40

  Modified: conf Makefile
  Log:
  On make install, was annoyingly asking you if you were sure you wanted to overwrite the old configuration backup. Now the old backup property files are first removed. We then make backup of what's currently there and thereafter copy into place new property files
  
  Revision Changes Path
  1.8 +13 -5 joist/conf/Makefile
  
  Index: Makefile
  ====================​====================​====================​=======
  RCS file: /cvs/joist/conf/Makefile,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Makefile 2000/10/16 19:44:54 1.7
  +++ Makefile 2000/10/17 16:58:40 1.8
  @@ -8,16 +8,24 @@
       @echo "nothing to make. type make install";
   
   install:
  - @echo 'Installing project configuration files to sandbox'; \
  - for f in $(PROPERTIES_CONF_FILES); do \
  + @echo 'Installing project configuration files to sandbox'
  + @for f in $(PROPERTIES_CONF_FILES); do \
         echo " $${f}"; \
  - if [ -f $(PROPERTIES_CONF_DIR)/$${f} ]; then \
  + if [ -f $(PROPERTIES_CONF_D​IR)/$${f}.orig ]; then\
  + echo "Removing old backup $(PROPERTIES_CONF_D​IR)/$${f}.orig"; \
  + rm -f $(PROPERTIES_CONF_D​IR)/$${f}.orig; \
  + fi; \
  + if [ -f $(PROPERTIES_CONF_DIR)/$${f} ]; then\
           mv $(PROPERTIES_CONF_DIR)/$${f} $(PROPERTIES_CONF_D​IR)/$${f}.orig; \
         fi; \
         cp -f $${f}* $(PROPERTIES_CONF_DIR); \
  - done; \
  - for f in $(SERVLETS_CONF_FILES); do \
  + done
  + @for f in $(SERVLETS_CONF_FILES); do \
         echo " $${f}"; \
  + if [ -f $(SERVLETS_CONF_DIR)/$${f}.orig ]; then \
  + echo "Removing old backup $(SERVLETS_CONF_DIR​)/$${f}.orig"; \
  + rm -f $(SERVLETS_CONF_DIR​)/$${f}.orig; \
  + fi; \
         if [ -f $(SERVLETS_CONF_DIR)/$${f} ]; then \
           mv $(SERVLETS_CONF_DIR)/$${f} $(SERVLETS_CONF_DIR​)/$${f}.orig; \
         fi; \

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/conf Makefile stack Michael Stack 2000-10-17 09:58:40 PDT
Messages per page: