aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/install_examples_into_docdir
blob: dd3141a1f7a7195e802d78b7c46b36fb23d31c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: put the 'examples' folder into /usr/share/doc/pd-* so that
 lintian does not complain about images being in lib directory, then link to
 it in the library so that the Pd Help Browser can find it.
Author: Hans-Christoph Steiner <hans@eds.org>
Forwarded: not-needed
Reviewed-By: Hans-Christoph Steiner <hans@eds.org>
Last-Update: <2010-11-05>

--- pd-hcs-0.1.orig/Makefile
+++ pd-hcs-0.1/Makefile
@@ -206,9 +206,9 @@
 
 install-examples:
 	test -z "$(strip $(EXAMPLES))" || \
-		$(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples && \
+		$(INSTALL_DIR) $(DESTDIR)$(prefix)/share/pd-$(LIBRARY_NAME)/examples && \
 		for file in $(EXAMPLES); do \
-			$(INSTALL_DATA) examples/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples; \
+			$(INSTALL_DATA) examples/$$file $(DESTDIR)$(prefix)/share/pd-$(LIBRARY_NAME)/examples; \
 		done
 
 install-manual: