From 2dd921c7746b810c50bb1fb97168b8b81013aaef Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 17 Jun 2009 21:00:22 +0200 Subject: [PATCH] Only install an explicit set of scripts during "make install", rather than whatever happens to be in the source tree. --- source4/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source4/Makefile b/source4/Makefile index 2a3ad2def1d..62fb9d4422d 100644 --- a/source4/Makefile +++ b/source4/Makefile @@ -111,7 +111,14 @@ libgpodir := libgpo include data.mk -$(foreach SCRIPT,$(wildcard scripting/bin/*),$(eval $(call binary_install_template,$(SCRIPT)))) +INSTALL_SCRIPTS = $(addprefix scripting/bin/, \ + autoidl \ + samba3dump \ + rpcclient \ + smbstatus \ + epdump) + +$(foreach SCRIPT,$(INSTALL_SCRIPTS),$(eval $(call binary_install_template,$(SCRIPT)))) $(DESTDIR)$(bindir)/%: scripting/bin/% installdirs @mkdir -p $(@D) -- 2.34.1