aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-08 19:28:45 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-08 19:28:45 +0000
commit2a8def3ff624393e7dcf8f3ce35c2d14a6c30c44 (patch)
tree79f1f7d147b489d483cda792e0af762a4ac88d8d
parent4b7621f60785c18333e75de7fc3b8700d8b13d8a (diff)
moved examples to pd-pddp docdir
svn path=/trunk/externals/pddp/; revision=14295
-rw-r--r--debian/links2
-rw-r--r--debian/patches/install_examples_into_docdir22
-rw-r--r--debian/patches/series1
3 files changed, 24 insertions, 1 deletions
diff --git a/debian/links b/debian/links
index 4ff7fc1..c599801 100644
--- a/debian/links
+++ b/debian/links
@@ -1,3 +1,3 @@
usr/lib/pd/extra/pddp/README.txt usr/share/doc/pd-pddp/README
-usr/lib/pd/extra/pddp/examples usr/share/doc/pd-pddp/examples
usr/share/common-licenses/GPL-2 usr/lib/pd/extra/pddp/LICENSE.txt
+usr/share/doc/pd-pddp/examples usr/lib/pd/extra/pddp/examples
diff --git a/debian/patches/install_examples_into_docdir b/debian/patches/install_examples_into_docdir
new file mode 100644
index 0000000..3e1a127
--- /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 <hans@eds.org>
+Forwarded: not-needed
+Reviewed-By: Hans-Christoph Steiner <hans@eds.org>
+Last-Update: <2010-11-05>
+
+--- pd-pddp-0.1.orig/Makefile
++++ pd-pddp-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/doc/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/doc/pd-$(LIBRARY_NAME)/examples; \
+ done
+
+ install-manual:
diff --git a/debian/patches/series b/debian/patches/series
index 4985374..ba9b233 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
add_required_internal_pd_headers
+install_examples_into_docdir