summaryrefslogtreecommitdiff
path: root/source4/Makefile
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-11-26 13:06:01 +1100
committerAndrew Tridgell <tridge@samba.org>2009-11-27 16:05:05 +1100
commit61a278fd8ab3feb26e6bc095d4f170fd97aa5c89 (patch)
tree0a8450d0006ecbb2ba26768b639b6fa7384dfe6d /source4/Makefile
parent8455a765164abf43794e10390978b22156e5c50a (diff)
downloadsamba-61a278fd8ab3feb26e6bc095d4f170fd97aa5c89.tar.gz
samba-61a278fd8ab3feb26e6bc095d4f170fd97aa5c89.tar.bz2
samba-61a278fd8ab3feb26e6bc095d4f170fd97aa5c89.zip
s4-install: fixed install path for python scripts
when we install python scripts we need to fix the internal path used to find modules. We also need to install the scripts in the right place. Most of them should go in $SBINDIR not share/setup/
Diffstat (limited to 'source4/Makefile')
-rw-r--r--source4/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/Makefile b/source4/Makefile
index 03b4e7364a..8f23da5679 100644
--- a/source4/Makefile
+++ b/source4/Makefile
@@ -114,14 +114,6 @@ libgpodir := libgpo
include data.mk
-INSTALL_SCRIPTS = $(addprefix scripting/bin/, \
- autoidl \
- samba3dump \
- rpcclient \
- smbstatus)
-
-$(foreach SCRIPT,$(INSTALL_SCRIPTS),$(eval $(call binary_install_template,$(SCRIPT))))
-
$(DESTDIR)$(bindir)/%: scripting/bin/% installdirs
@mkdir -p $(@D)
@echo Installing $(@F) as $@
@@ -253,7 +245,7 @@ installman:: manpages installdirs
@$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(mandir) $(MANPAGES)
installmisc:: installdirs
- @$(SHELL) $(srcdir)/script/installmisc.sh $(srcdir) $(DESTDIR)$(setupdir)
+ @$(SHELL) $(srcdir)/script/installmisc.sh $(srcdir) $(DESTDIR)$(setupdir) $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir) $(pythondir)
installpc:: installdirs
@$(SHELL) $(srcdir)/script/installpc.sh $(builddir) $(DESTDIR)$(pkgconfigdir) $(PC_FILES)