Package: denemo / 0.9.2-3

Makefile.am.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Denemo should not install
 makefiles.
Forwarded: http://savannah.gnu.org/bugs/index.php?28902
Author: Josué Abarca <jmaslibre@debian.org.gt>
Last-Update: 2010-04-03

--- a/Makefile.am
+++ b/Makefile.am
@@ -18,10 +18,16 @@
 install-data-hook:
 	cp -r $(srcdir)/actions ${DESTDIR}/$(datadir)/${PACKAGE}/
 	find $(DESTDIR)$(datadir)/${PACKAGE}/actions -type d -exec chmod 755 '{}' \;
+	find $(DESTDIR)$(datadir)/${PACKAGE}/examples -type f \( -name Makefile -o -name Makefile.in \
+	-o -name Makefile.am \) -print0 | xargs -0 rm -rf \;
 	cp -r $(srcdir)/examples ${DESTDIR}/$(datadir)/${PACKAGE}/
 	find $(DESTDIR)$(datadir)/${PACKAGE}/examples -type d -exec chmod 755 '{}' \;
+	find $(DESTDIR)$(datadir)/${PACKAGE}/examples -type f \( -name Makefile -o -name Makefile.in \
+	-o -name Makefile.am \) -print0 | xargs -0 rm -rf \;
 	cp -r $(srcdir)/templates ${DESTDIR}/$(datadir)/${PACKAGE}/
 	find $(DESTDIR)$(datadir)/${PACKAGE}/templates -type d -exec chmod 755 '{}' \;
+	find $(DESTDIR)$(datadir)/${PACKAGE}/templates -type f \( -name Makefile -o -name Makefile.in \
+	-o -name Makefile.am \) -print0 | xargs -0 rm -rf \;
 dist-hook: @PACKAGE@.spec
 	cp $(srcdir)/@PACKAGE@.spec $(distdir)