head	1.3;
access;
symbols
	TIGRIS_1_1_0RC2:1.2
	TIGRIS_1_1_0RC1:1.2
	TIGRIS_1_1:1.2.0.10
	TIGRIS_1_0_8:1.2
	TIGRIS_1_0_8RC3:1.2
	TIGRIS_1_0_8RC2:1.2
	TIGRIS_1_0_8RC1:1.2
	TIGRIS_1_0_7:1.2
	TIGRIS_1_0_7RC3:1.2
	TIGRIS_1_0_7RC2:1.2
	TIGRIS_1_0_7RC1:1.2
	TIGRIS_1_0_6:1.2
	TIGRIS_1_0_6RC5:1.2
	TIGRIS_1_0_6RC4:1.2
	TIGRIS_1_0_6RC3:1.2
	TIGRIS_1_0_6RC2:1.2
	TIGRIS_1_0_6RC1:1.2
	TIGRIS_1_0_5:1.2
	TIGRIS_1_0_5RC6:1.2
	TIGRIS_1_0_5RC5:1.2
	TIGRIS_1_0_5RC4:1.2
	TIGRIS_1_0_5RC3:1.2
	TIGRIS_1_0_5RC2:1.2
	TIGRIS_1_0_5RC1:1.2
	TIGRIS_1_0_4:1.2
	TIGRIS_1_0_3:1.2
	TIGRIS_1_0_2:1.2
	TIGRIS_1_0_1:1.2
	TIGRIS_1_0:1.2.0.12
	TIGRIS_1_0_0:1.2
	TIGRIS_1_0_0_RC1:1.2.0.8
	HELM_PEER_PORT_BRANCH:1.2.0.6
	TIGRIS_0_9_2_4:1.2
	TIGRIS_0_9_2_3:1.2
	TIGRIS_0_9_2:1.2.0.4
	TIGRIS_0_9_0:1.2.0.2
	TIGRIS_0_8_4:1.1.0.2
	TIGRIS_710_FF:1.1;
locks; strict;
comment	@# @;


1.3
date	2001.05.24.17.33.02;	author dlr;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.08.21.48.56;	author edk;	state Exp;
branches;
next	1.1;

1.1
date	2000.10.27.17.15.12;	author edk;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Removed template cooking non-sense (deprecated by switch to Velocity).
@
text
@######################################################################
# -*- Makefile -*- developed for a Unix system.
# 
#  This cooks the templates (if necessary), and copies them into the 
#  installation location.
#

include Makefile.config

default:

install-client: install

install-client-libs:
	@@true

install:
	@@mkdir -p --verbose $(INSTALL_DIR); \
	echo 'Copying templates'; \
	rsync -ar --delete $(RAW_DIR)/$(PROJECT) $(INSTALL_DIR)
@


1.2
log
@make the make process less verbose
@
text
@d10 1
a10 9
cook: clean
	@@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_TEMPLATE_ROOT;,$(SITE_TEMPLATE_BRAND),g'; \
	$(SANDBOX)/scripts/opersx '$(SANDBOX)/scripts/link-cooker *.wm' '$(COOKED_DIR)'

clean:
	- rm -rf $(COOKED_DIR)
d19 2
a20 12
	if [ "$(USE_COOKED_TEMPLATES)" = 'true' ]; then \
	  if [ -d $(COOKED_DIR) ]; then \
	    echo 'Copying cooked templates'; \
	    rsync -ar --delete $(COOKED_DIR)/$(RAW_DIR)/$(PROJECT) $(INSTALL_DIR); \
	  else \
	    echo -n 'Cannot copy cooked templates: '; \
	    echo '$(COOKED_DIR) directory does not exist'; \
	  fi; \
	else \
	  echo 'Copying uncooked templates'; \
	  rsync -ar --delete $(RAW_DIR)/$(PROJECT) $(INSTALL_DIR); \
	fi
@


1.1
log
@add Makefile
@
text
@d23 1
@

