head	1.8;
access;
symbols
	TIGRIS_0_9_2_4:1.7
	TIGRIS_0_9_2_3:1.7
	TIGRIS_0_9_2:1.7.0.6
	TIGRIS_0_9_0:1.7.0.4
	TIGRIS_0_8_4:1.7.0.2
	EYEBROWSE_WM_0_89:1.3;
locks; strict;
comment	@# @;


1.8
date	2001.02.06.12.54.00;	author ms;	state dead;
branches;
next	1.7;

1.7
date	2000.11.09.23.46.41;	author edk;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.09.11.53.57;	author edk;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.07.04.20.00;	author edk;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.07.02.04.27;	author edk;	state Exp;
branches;
next	1.3;

1.3
date	2000.09.20.02.17.45;	author ms;	state Exp;
branches;
next	1.2;

1.2
date	2000.09.08.21.42.37;	author ms;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.08.18.10.23;	author ms;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Here is the move we've all been waiting for. No more confusing (well 1 :\)
references to SANDBOX all over the place, extra config files that are collabnet
specific and what not.
The 60* files have been moved to helm/conf/eyebrowse and the logic removed from
the Makefiles (which only were useful to tigris instantiations) is now in
build-helm.xml (antfile).
Changed conf data to match documentation and make more sense in general.
The only SANDBOX ref is in the "eyebrowse" wrapper script, this can go away also,
I just havent gotten around to that.
The next thing to go are the helmservlets and templates.
@
text
@######################################################################
# -*- Makefile -*- developed for a Unix system.
#

include Makefile.config

default: build

# only install the conf files on make install
build:

install: install-helm

install-helm: install-common-conf install-helm-conf install-info

install-joist: install-common-conf install-joist-conf install-info

# trying to automate this doesn't seem to make much sense at this point
# ... anyone's welcome to do so, however.
install-wm:
	@@echo "Please install conf manually.  This includes the "; \
	echo "60eyebrowse.zone.properties.in and eyebrowse.properties.in "; \
	echo "files, which need tokens (such as __SANDBOX__, representing "; \
	echo "the install directory root) to be set up.  You may also "; \
	echo "need to edit your list of servlets (an example, appropriate "; \
	echo "for Apache JServ, is 60eyebrowse-webmacro.servlets)."

install-common-conf:
	@@echo 'Installing common project configuration files to sandbox'; \
	if [ -z $(SANDBOX) ] ; then  \
	  echo "unable to find sandbox structure : install conf manually"; \
	  exit 0; \
	fi ; \
        if [ ! -d $(SANDBOX) ] ; then \
	  echo "unable to find sandbox structure : install conf manually"; \
	  exit 0; \
	fi ; \
	for f in $(ZONE_PROPERTIES_CONF_FILES); do \
	  echo "  $${f}"; \
	  if [ -f $(ZONE_PROPERTIES_CONF_DIR)/$${f} ]; then \
	    mv -f $(ZONE_PROPERTIES_CONF_DIR)/$${f} \
		$(ZONE_PROPERTIES_CONF_DIR)/$${f}.orig; \
	  fi; \
	  cp -f $${f}* $(ZONE_PROPERTIES_CONF_DIR); \
	done; \
	if [ ! -d $(EYEBROWSE_PROPERTIES_CONF_DIR) ] ; then \
	   mkdir -p --verbose $(EYEBROWSE_PROPERTIES_CONF_DIR) ; \
	fi ; \
	for f in $(EYEBROWSE_PROPERTIES_CONF_FILES); do \
	  echo "  $${f}"; \
	  if [ -f $(EYEBROWSE_PROPERTIES_CONF_DIR)/$${f} ]; then \
	    mv -f $(EYEBROWSE_PROPERTIES_CONF_DIR)/$${f} \
		$(EYEBROWSE_PROPERTIES_CONF_DIR)/$${f}.orig; \
	  fi; \
	  cp -f $${f}* $(EYEBROWSE_PROPERTIES_CONF_DIR); \
	done; \
	echo 'Installation of common project configuration files complete'; \
	unset f ; true

install-helm-conf:
	@@for f in $(HELM_SERVLETS_CONF_FILES); do \
	  echo "  $${f}"; \
	  if [ -f $(SERVLETS_CONF_DIR)/$${f} ]; then \
	    mv -f $(SERVLETS_CONF_DIR)/$${f} \
		$(SERVLETS_CONF_DIR)/$${f}.orig; \
	  fi; \
	  cp -f $${f} $(SERVLETS_CONF_DIR); \
	done; \
	echo 'Installation of helm servlets files is complete'; \
	unset f ; true

install-joist-conf:
	@@for f in $(JOIST_SERVLETS_CONF_FILES); do \
	  echo "  $${f}"; \
	  if [ -f $(SERVLETS_CONF_DIR)/$${f} ]; then \
	    mv -f $(SERVLETS_CONF_DIR)/$${f} \
		$(SERVLETS_CONF_DIR)/$${f}.orig; \
	  fi; \
	  cp -f $${f}* $(SERVLETS_CONF_DIR); \
	done; \
	echo 'Installation of joist servlets files is complete'; \
	unset f ; true

install-info:
	echo 'Now would be a good time to run configure.pl and ' ; \
	echo 'reconfigure.pl, and then restart your sandbox'


@


1.7
log
@add a servlets conf file for webmacro versions; change the -helm.servlets
file so that it's appropriate for helm.  add to the comments for
the install-wm target.
@
text
@@


1.6
log
@provide several targets, and make the default target install the helm
version of the conf files.
@
text
@d25 2
a26 1
	echo "need to edit your list of servlets."
@


1.5
log
@copy eyebrowse.properties into the sandbox structure as well; and test
to make sure the sandbox looks sane before copying anything.
@
text
@d12 17
a28 2
install:
	@@echo 'Installing project configuration files to sandbox'; \
d56 5
a60 1
	for f in $(SERVLETS_CONF_FILES); do \
d63 14
a76 1
	    mv -f $(SERVLETS_CONF_DIR)/$${f} $(SERVLETS_CONF_DIR)/$${f}.orig; \
d80 6
a85 3
	echo 'Installation of project configuration files complete'; \
	unset f ; true ; \
	echo 'Now would be a good time to run configure.pl and reconfigure.pl then restart your sandbox'
@


1.4
log
@minor changes to the Makefiles to reduce noise & make them work w/in
the "sandbox"
@
text
@d14 9
a22 1
	for f in $(PROPERTIES_CONF_FILES); do \
d24 3
a26 2
	  if [ -f $(PROPERTIES_CONF_DIR)/$${f} ]; then \
	    mv -f $(PROPERTIES_CONF_DIR)/$${f} $(PROPERTIES_CONF_DIR)/$${f}.orig; \
d28 12
a39 1
	  cp -f $${f}* $(PROPERTIES_CONF_DIR); \
d51 2
@


1.3
log
@Everything is now under org.tigris.eyebrowse rather then com.quiotix.
Assorted small changes in the build structure to reflect these changes were also made.
Submitted by:Michael Salmon
Reviewed by:Daniel Rall
@
text
@d29 1
a29 1
	unset f ; true
@


1.2
log
@
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@a30 12

include-trace:
	@@file=$(FILE); \
	while [ "$$file" ]; do \
	  last=$$file; \
	  file=`grep -i "^ *include *. *.*$${file} *$$" * 2> /dev/null | \
	    grep -v "registry\.$${file}" | \
	    perl -p -e 's/^(.*):.*$$/$$1/i' | \
	    grep -v '.*\.in$$'`; \
	done; \
	echo $$last; \
	unset last
@


1.1
log
@Sandboxified config setup for eyebrowse on joist
@
text
@d17 1
a17 1
	    mv $(PROPERTIES_CONF_DIR)/$${f} $(PROPERTIES_CONF_DIR)/$${f}.orig; \
d24 1
a24 1
	    mv $(SERVLETS_CONF_DIR)/$${f} $(SERVLETS_CONF_DIR)/$${f}.orig; \
d30 1
@

