aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
-rw-r--r--debian/changelog2
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0c7f16e..b143ca8 100644
--- a/Makefile
+++ b/Makefile
@@ -151,7 +151,7 @@ install: libdir_install
# The meta and help files are explicitly installed to make sure they are
# actually there. Those files are not optional, then need to be there.
-libdir_install: $(SOURCES:.c=.$(EXTENSION)) install-doc
+libdir_install: $(SOURCES:.c=.$(EXTENSION)) install-doc install-examples
$(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
$(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd \
$(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
@@ -178,6 +178,11 @@ install-doc:
$(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
$(INSTALL_FILE) readme.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/readme.txt
+install-examples:
+ test ! -d examples || (\
+ $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples && \
+ $(INSTALL_FILE) examples/*.* $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples)
+
clean:
-rm -f -- $(SOURCES:.c=.o)
diff --git a/debian/changelog b/debian/changelog
index fd2d3ab..3e3bb2b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-pd-sigpack (0.0.4.1-1.2) unstable; urgency=low
+pd-sigpack (0.0.4.1-1.3) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>