[gnome-alsamixer] Add spec file to the distribution correctly



commit a549349682800d3f0c9a6080eeac3a2a87f7252c
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 26 14:28:15 2012 +0100

    Add spec file to the distribution correctly

 Makefile.am |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d307494..0b719f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,16 +12,10 @@ pixmap_DATA = pixmaps/gnome-alsamixer-icon.png
 desktopdir = $(datadir)/applications/
 desktop_DATA = gnome-alsamixer.desktop
 
-EXTRA_DIST = autogen.sh gnome-alsamixer.schemas $(pixmap_DATA) $(desktop_DATA)
+EXTRA_DIST = autogen.sh gnome-alsamixer.schemas $(pixmap_DATA) $(desktop_DATA) gnome-alsamixer.spec gnome-alsamixer.spec.in
 
 install-data-local:
 	@$(NORMAL_INSTALL)
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
 	gconftool-2 --makefile-install-rule $(srcdir)/$(schema_DATA)
 
-dist-hook:
-	for spec in *.spec; do \
-	  if test -f $$spec; then \
-	    cp -p $$spec $(distdir); \
-	  fi \
-	done



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]