[banshee] [build] Use EXTRA_*_DATA_HOOK in Karma makefile
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [build] Use EXTRA_*_DATA_HOOK in Karma makefile
- Date: Thu, 15 Jul 2010 19:25:25 +0000 (UTC)
commit 746c17f1e2ecaf0bbb2adf2d876f4f45e639f3a7
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sun Jul 11 18:27:37 2010 +0200
[build] Use EXTRA_*_DATA_HOOK in Karma makefile
Redefining install-data-hook and uninstall-hook now causes an ugly
warning.
src/Dap/Banshee.Dap.Karma/Makefile.am | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap.Karma/Makefile.am b/src/Dap/Banshee.Dap.Karma/Makefile.am
index 29eca58..2b9b1ae 100644
--- a/src/Dap/Banshee.Dap.Karma/Makefile.am
+++ b/src/Dap/Banshee.Dap.Karma/Makefile.am
@@ -14,15 +14,18 @@ EXTRA_BUNDLE = $(KARMASHARP_ASSEMBLIES)
if ENABLE_KARMA
include $(top_srcdir)/build/build.mk
-install-data-hook:
+define EXTRA_INSTALL_DATA_HOOK
for ASM in $(KARMASHARP_ASSEMBLIES); do \
$(INSTALL) -m 0755 $$ASM $(DESTDIR)$(moduledir); \
done;
+endef
-uninstall-hook:
+define EXTRA_UNINSTALL_HOOK
for ASM in $(KARMASHARP_ASSEMBLIES); do \
rm -f $(DESTDIR)$(moduledir)/`basename $$ASM`; \
done;
+endef
+
else
EXTRA_DIST = $(SOURCES) $(RESOURCES)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]