From c09f0dc5b171671e3d6947d27c3442c1358e0a70 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 8 Nov 2010 22:03:10 +0000 Subject: install 'examples' into /usr/share/pd-hcs since there is an image and lintian complains svn path=/trunk/externals/hcs/; revision=14314 --- debian/patches/install_examples_into_docdir | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 debian/patches/install_examples_into_docdir (limited to 'debian/patches/install_examples_into_docdir') diff --git a/debian/patches/install_examples_into_docdir b/debian/patches/install_examples_into_docdir new file mode 100644 index 0000000..dd3141a --- /dev/null +++ b/debian/patches/install_examples_into_docdir @@ -0,0 +1,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 +Forwarded: not-needed +Reviewed-By: Hans-Christoph Steiner +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: -- cgit v1.2.1