diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2008-09-10 00:09:28 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-10 00:09:28 +0200 |
commit | 6ad94d10f79f206fcdeb23cf71595e38c7a77855 (patch) | |
tree | 0dc778cbc0ace8a8969262a79707f6ebba48c843 | |
parent | 6ac32d0a10a9a27abceca362fcab04bcfc55c33f (diff) | |
download | samba-6ad94d10f79f206fcdeb23cf71595e38c7a77855.tar.gz |
Fix uninstalling of binaries.
-rw-r--r-- | source/build/make/templates.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/build/make/templates.mk b/source/build/make/templates.mk index c0ee017a65a..f7eab6ce015 100644 --- a/source/build/make/templates.mk +++ b/source/build/make/templates.mk @@ -125,11 +125,11 @@ abspath = $(shell cd $(dir $(1)); pwd)/$(notdir $(1)) # Install a binary # Arguments: path to binary to install define binary_install_template -installbin:: $$(DESTDIR)$$(bindir)/$(notdir $(1)) +installbin:: $$(DESTDIR)$$(bindir)/$(notdir $(1)) installdirs uninstallbin:: @echo "Removing $(notdir $(1))" - @rm -f $$(DESTDIR)$$(bindir)/$(1) + @rm -f $$(DESTDIR)$$(bindir)/$(notdir $(1)) endef define sbinary_install_template @@ -137,5 +137,5 @@ installsbin:: $$(DESTDIR)$$(sbindir)/$(notdir $(1)) installdirs uninstallsbin:: @echo "Removing $(notdir $(1))" - @rm -f $$(DESTDIR)$$(sbindir)/$(1) + @rm -f $$(DESTDIR)$$(sbindir)/$(notdir $(1)) endef |