[banshee] Use EXTRA_INSTALL_DATA_HOOK, EXTRA_UNINSTALL_HOOK
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Use EXTRA_INSTALL_DATA_HOOK, EXTRA_UNINSTALL_HOOK
- Date: Thu, 8 Jul 2010 01:25:59 +0000 (UTC)
commit 155026ad491306ad2fb98454d1e0f7a7d6013af6
Author: Aaron Bockover <abockover novell com>
Date: Wed Jul 7 19:52:14 2010 -0400
Use EXTRA_INSTALL_DATA_HOOK, EXTRA_UNINSTALL_HOOK
Instead of redefining install-data-hook, uninstall-hook.
src/Dap/Banshee.Dap.Ipod/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap.Ipod/Makefile.am b/src/Dap/Banshee.Dap.Ipod/Makefile.am
index c5d0157..b82c499 100644
--- a/src/Dap/Banshee.Dap.Ipod/Makefile.am
+++ b/src/Dap/Banshee.Dap.Ipod/Makefile.am
@@ -18,15 +18,17 @@ EXTRA_BUNDLE = $(IPODSHARP_ASSEMBLIES)
if ENABLE_IPOD
include $(top_srcdir)/build/build.mk
-install-data-hook:
+define EXTRA_INSTALL_DATA_HOOK
for ASM in $(IPODSHARP_ASSEMBLIES); do \
$(INSTALL) -m 0755 $$ASM $(DESTDIR)$(moduledir); \
done;
+endef
-uninstall-hook:
+define EXTRA_UNINSTALL_HOOK
for ASM in $(IPODSHARP_ASSEMBLIES); do \
rm -f $(DESTDIR)$(moduledir)/`basename $$ASM`; \
done;
+endef
else
EXTRA_DIST = $(SOURCES) $(RESOURCES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]