[banshee] [AppleDevice] Fix [un]install hooks



commit 16e1f367fd4c42869ecfe66b91cf49e7564354c8
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Fri Aug 13 16:49:37 2010 -0700

    [AppleDevice] Fix [un]install hooks

 src/Dap/Banshee.Dap.AppleDevice/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap.AppleDevice/Makefile.am b/src/Dap/Banshee.Dap.AppleDevice/Makefile.am
index f9f86df..8734841 100644
--- a/src/Dap/Banshee.Dap.AppleDevice/Makefile.am
+++ b/src/Dap/Banshee.Dap.AppleDevice/Makefile.am
@@ -14,15 +14,17 @@ EXTRA_BUNDLE = $(LIBGPODSHARP_ASSEMBLIES)
 if ENABLE_APPLEDEVICE
 include $(top_srcdir)/build/build.mk
 
-install-data-hook:
+define EXTRA_INSTALL_DATA_HOOK
 	for ASM in $(LIBGPODSHARP_ASSEMBLIES); do \
 		$(INSTALL) -m 0755 $$ASM $(DESTDIR)$(moduledir); \
 	done;
+endef
 
-uninstall-hook:
+define EXTRA_UNINSTALL_HOOK
 	for ASM in $(LIBGPODSHARP_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]