aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-10 05:16:14 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-10 05:16:14 +0000
commit1bc923dedb27cc8e610a190d78419a791529e095 (patch)
tree5c3fd66b040a4fe7fa505ff6d9faffb5de0322fd
parent8f49b159f046b2a074a638e1861c6ed644bd2d82 (diff)
updated all templates with the PDOBJECTS fixes from the 'mapping' build
svn path=/trunk/externals/ext13/; revision=13167
-rw-r--r--Makefile25
-rw-r--r--debian/control2
2 files changed, 14 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 81cfc44..d00c36a 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@ endif
CFLAGS += $(OPT_CFLAGS)
-.PHONY = install libdir_install single_install install-doc install-exec clean dist etags
+.PHONY = install libdir_install single_install install-doc install-exec install-examples clean dist etags
all: $(SOURCES:.c=.$(EXTENSION))
@@ -155,11 +155,11 @@ 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)
- test -z "$(SOURCES)" || (\
+ test -z "$(strip $(SOURCES))" || (\
$(INSTALL_FILE) $(SOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) && \
$(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(SOURCES:.c=.$(EXTENSION))))
- test -z "$(PDOBJECTS)" || \
- $(INSTALL_FILE) $(OBJECTS) \
+ test -z "$(strip $(PDOBJECTS))" || \
+ $(INSTALL_FILE) $(PDOBJECTS) \
$(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
# install library linked as single binary
@@ -170,12 +170,13 @@ single_install: $(LIBRARY_NAME) install-doc install-exec
install-doc:
$(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
- test -z "$(SOURCES)" || \
+ test -z "$(strip $(SOURCES))" || \
$(INSTALL_FILE) $(SOURCES:.c=-help.pd) \
$(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
- test -z "$(PDOBJECTS)" || \
+ test -z "$(strip $(PDOBJECTS))" || \
$(INSTALL_FILE) $(PDOBJECTS:.pd=-help.pd) \
$(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+# this is the only bit not really handled well...
$(INSTALL_FILE) README $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt
$(INSTALL_FILE) VERSION $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/VERSION.txt
$(INSTALL_FILE) CHANGES $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/CHANGES.txt
@@ -205,7 +206,7 @@ libdir: all $(DISTBINDIR)
$(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd $(DISTBINDIR)
$(INSTALL_FILE) $(SOURCES) $(DISTBINDIR)
$(INSTALL_FILE) $(SOURCES:.c=-help.pd) $(DISTBINDIR)
- test -z "$(EXTRA_DIST)" || \
+ test -z "$(strip $(EXTRA_DIST))" || \
$(INSTALL_FILE) $(EXTRA_DIST) $(DISTBINDIR)
# tar --exclude-vcs -czpf $(DISTBINDIR).tar.gz $(DISTBINDIR)
@@ -215,15 +216,15 @@ $(DISTDIR):
dist: $(DISTDIR)
$(INSTALL_FILE) Makefile $(DISTDIR)
$(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd $(DISTDIR)
- test -z "$(ALLSOURCES)" || \
+ test -z "$(strip $(ALLSOURCES))" || \
$(INSTALL_FILE) $(ALLSOURCES) $(DISTDIR)
- test -z "$(ALLSOURCES)" || \
+ test -z "$(strip $(ALLSOURCES))" || \
$(INSTALL_FILE) $(ALLSOURCES:.c=-help.pd) $(DISTDIR)
- test -z "$(PDOBJECTS)" || \
+ test -z "$(strip $(PDOBJECTS))" || \
$(INSTALL_FILE) $(PDOBJECTS) $(DISTDIR)
- test -z "$(PDOBJECTS)" || \
+ test -z "$(strip $(PDOBJECTS))" || \
$(INSTALL_FILE) $(PDOBJECTS:.pd=-help.pd) $(DISTDIR)
- test -z "$(EXTRA_DIST)" || \
+ test -z "$(strip $(EXTRA_DIST))" || \
$(INSTALL_FILE) $(EXTRA_DIST) $(DISTDIR)
tar --exclude-vcs -czpf $(DISTDIR).tar.gz $(DISTDIR)
diff --git a/debian/control b/debian/control
index c7dfe36..0c9f705 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: pd-ext13
Section: sound
Priority: optional
Maintainer: Paul Brossier <piem@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), puredata (>= 0.42.5-4~)
+Build-Depends: debhelper (>= 7.0.50~), puredata (>= 0.42.5-3.1~)
Standards-Version: 3.8.3
Homepage: http://puredata.info