diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-02-10 00:58:33 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-02-10 00:58:33 +0000 |
commit | 08959c10fb4357a511027eb8563e6d40d3ef505d (patch) | |
tree | d61be47a26c61554b17bbe7d58fce7a43e2fb7a4 | |
parent | a07fab5748645f9f09941d4eaf08075d7cf4c7a9 (diff) |
added rule to install 'examples' if they exist
svn path=/trunk/externals/ext13/; revision=13161
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -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) @@ -180,6 +180,11 @@ install-doc: $(INSTALL_FILE) VERSION $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/VERSION.txt $(INSTALL_FILE) CHANGES $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/CHANGES.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 a8e950b..e75fef4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -pd-ext13 (0.17-1.3) unstable; urgency=low +pd-ext13 (0.17-1.4) unstable; urgency=low * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> |