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

include $(OBJDIR)/Makeconf

11
RC_SCRIPTS	= 2.mysql-server.sh 3.testbed.sh cvsupd.sh 2.elvind.sh
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#
# Force dependencies to make sure configure regenerates if the .in file
# is changed.
# 
all: $(RC_SCRIPTS)

include $(TESTBED_SRCDIR)/GNUmakerules

# Like the INSTALL_BINDIR target
$(INSTALL_RCDIR)/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_RCDIR)
	$(INSTALL_PROGRAM) $< $@


install: $(addprefix $(INSTALL_RCDIR)/, $(RC_SCRIPTS))

clean: