Commit 18ed6e7c authored by Leigh Stoller's avatar Leigh Stoller

Add GNUmakefile to dhcpd directory for easier rebuild/install of the

template file.
parent 65c6095d
......@@ -1570,7 +1570,7 @@ outfiles="$outfiles Makeconf GNUmakefile \
xmlrpc/imageid xmlrpc/osid xmlrpc/server xmlrpc/xmlrpcbag \
cdrom/GNUmakefile cdrom/tbbootconfig/GNUmakefile \
cdrom/groklilo/GNUmakefile \
dhcpd/dhcpd.conf.template \
dhcpd/dhcpd.conf.template dhcpd/GNUmakefile \
install/GNUmakefile install/ops-install install/boss-install \
install/newnode_sshkeys/GNUmakefile "
......
......@@ -608,7 +608,7 @@ outfiles="$outfiles Makeconf GNUmakefile \
xmlrpc/imageid xmlrpc/osid xmlrpc/server xmlrpc/xmlrpcbag \
cdrom/GNUmakefile cdrom/tbbootconfig/GNUmakefile \
cdrom/groklilo/GNUmakefile \
dhcpd/dhcpd.conf.template \
dhcpd/dhcpd.conf.template dhcpd/GNUmakefile \
install/GNUmakefile install/ops-install install/boss-install \
install/newnode_sshkeys/GNUmakefile "
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
#
SRCDIR = @srcdir@
TESTBED_SRCDIR = @top_srcdir@
OBJDIR = ..
SUBDIR = dhcpd
ETCDIR = /usr/local/etc
DHCPD_FILES = dhcpd.conf.template
include $(OBJDIR)/Makeconf
#
# Force dependencies on the scripts so that they will be rerun through
# configure if the .in file is changed.
#
all: $(DHCPD_FILES)
include $(TESTBED_SRCDIR)/GNUmakerules
install: $(ETCDIR)/dhcpd.conf.template
-chmod 664 $(ETCDIR)/dhcpd.conf.template
clean:
rm -f $(DHCPD_FILES)
$(ETCDIR)/%: %
@echo "Installing $<"
-mkdir -p $(ETCDIR)
$(INSTALL) $< $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment