head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2001.08.13.21.16.20;	author kmaples;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Changed makefiles and http conf fragments to be consistent with the rest of
the Helm-managed components.
@
text
@######################################################################
# -*- Makefile -*- developed for a Unix system.
#

include Makefile.config

default: build

# Only install the configuration files when the install target is called.
build:

install:
	@@echo 'Installing project configuration files to sandbox'; \
	make install-conf-files CONF_FILES="$(HTTPD_CONF_FILES)" \
	  CONF_DIR="$(HTTPD_CONF_DIR)"; \
	echo 'Installation of project configuration files complete'

# Install a single set of configuration files CONF_FILES to directory CONF_DIR.
install-conf-files:
	@@for f in $(CONF_FILES); do \
	  echo "  $${f}"; \
	  if [ -f $(CONF_DIR)/$${f}.orig ]; then \
	    rm -f $(CONF_DIR)/$${f}.orig; \
	  fi; \
	  if [ -f $(CONF_DIR)/$${f} ]; then \
	    mv $(CONF_DIR)/$${f} $(CONF_DIR)/$${f}.orig; \
	  fi; \
	  cp -f $${f}* $(CONF_DIR); \
	done; \
	unset f

clean:
@
