diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/links | 2 | ||||
-rw-r--r-- | debian/patches/install_examples_into_docdir | 22 | ||||
-rw-r--r-- | debian/patches/series | 3 |
3 files changed, 25 insertions, 2 deletions
diff --git a/debian/links b/debian/links index 38be00d..e6bfb6d 100644 --- a/debian/links +++ b/debian/links @@ -1,3 +1,3 @@ usr/lib/pd/extra/hcs/README.txt usr/share/doc/pd-hcs/README -usr/lib/pd/extra/hcs/examples usr/share/doc/pd-hcs/examples +usr/share/pd-hcs/examples usr/lib/pd/extra/hcs/examples usr/share/common-licenses/GPL-3 usr/lib/pd/extra/hcs/LICENSE.txt 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 <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: diff --git a/debian/patches/series b/debian/patches/series index 5389e8d..ba9b233 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ -add_required_headers.patch +add_required_internal_pd_headers +install_examples_into_docdir |