Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/templates Makefile

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/templates Makefile

Author stack
Full name Michael Stack
Date 2000-10-06 15:15:47 PDT
Message User: stack
  Date: 00/10/06 15:15:47

  Modified: templates Makefile
  Log:
  During 'make', does not cook templates if USE_COOKED_TEMPLATES is FALSE. Also, during make-install if USE_COOKED_TEMPLATES is FALSE, post the make-install template copy to site, we now run the link-cooker against site/templates
  
  Revision Changes Path
  1.12 +10 -0 joist/templates/Makefile
  
  Index: Makefile
  ====================​====================​====================​=======
  RCS file: /cvs/joist/templates/Makefile,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Makefile 2000/09/26 07:51:12 1.11
  +++ Makefile 2000/10/06 22:15:47 1.12
  @@ -8,14 +8,22 @@
   include Makefile.config
   
   cook: clean
  +ifeq ("${USE_COOKED_TEMP​LATES}",true)
       @mkdir $(COOKED_DIR); \
       rsync -ar --exclude CVS --delete $(RAW_DIR) $(COOKED_DIR); \
       perl $(SANDBOX)/scripts/​template-cooker; \
       find $(COOKED_DIR) -type f -name '*.wm' | xargs perl -pi -e 's,\$$SERVLET_TEM​PLATE_ROOT;,$(SERVL​ET_TEMPLATE_ROOT),g'​; \
       $(SANDBOX)/scripts/opersx 'ls *.wm &> /dev/null && $(SANDBOX)/scripts/link-cooker *.wm' '$(COOKED_DIR)'
  +else
  + @echo "USE_COOKED_TEMPLATES is ${USE_COOKED_TEMPLATES}. Nothing to cook"
  +endif
   
  +
   clean:
  +ifeq ("${USE_COOKED_TEMPLATE}",true)
       - rm -rf $(COOKED_DIR)
  +endif
  +
   
   install:
       @mkdir -p --verbose $(INSTALL_DIR); \
  @@ -30,4 +38,6 @@
       else \
         echo 'Copying uncooked templates'; \
         rsync -ar --delete $(RAW_DIR)/$(PROJECT) $(INSTALL_DIR); \
  + echo "Cooking links in $(INSTALL_DIR)"; \
  + $(SANDBOX)/scripts/opersx 'ls *.wm &> /dev/null && $(SANDBOX)/scripts/link-cooker *.wm' '$(INSTALL_DIR)'; \
       fi

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

Messages

Show all messages in topic

CVS update: joist/templates Makefile stack Michael Stack 2000-10-06 15:15:47 PDT
Messages per page: