GNUmakefile.in 536 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#
# For installation only.
#
SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ..
SUBDIR		= apache

include $(OBJDIR)/Makeconf

11
CONFIG_FILES	= httpd.conf
12 13 14 15 16 17 18 19 20 21 22
#
# Force dependencies to make sure configure regenerates if the .in file
# is changed.
# 
all: $(CONFIG_FILES)

include $(TESTBED_SRCDIR)/GNUmakerules

# Like the INSTALL_ETCDIR target
$(INSTALL_APACHE_CONFIG)/%: %
	@echo "Installing $<"
23
	-mkdir -p $(INSTALL_APACHE_CONFIG)
24 25 26 27 28 29
	$(INSTALL_DATA) $< $@


install: $(addprefix $(INSTALL_APACHE_CONFIG)/, $(CONFIG_FILES))

clean: