aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-05-30 05:55:48 +0000
committerN.N. <matju@users.sourceforge.net>2009-05-30 05:55:48 +0000
commitb1bd7d75ea95a83e3f24ba6169c93672e97f56ee (patch)
tree4846f6f25bd7a542f62343c505903c4b00883756 /desiredata/src
parentf15f8d5f6c0546c9bbba402a83ef3d6d6e39601d (diff)
fix+simplify make install
svn path=/trunk/; revision=11583
Diffstat (limited to 'desiredata/src')
-rw-r--r--desiredata/src/makefile.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/desiredata/src/makefile.in b/desiredata/src/makefile.in
index c96e86cd..dfffa135 100644
--- a/desiredata/src/makefile.in
+++ b/desiredata/src/makefile.in
@@ -79,6 +79,9 @@ externs::
cd ../extra; for ext in bonk~ choice expr~ fiddle~ loop~ lrshift~ pique sigmund~; do \
cd $$ext; make @EXTERNTARGET@ || break; cd ..; done
+# note: will not install symlinks. you'd need another -o -type.
+FINDFLAGS = -name .svn -prune -o -type f
+
install:: all
install -d $(DESTDIR)$(bindir)
install -d $(DESTDIR)$(libpdbindir)
@@ -86,16 +89,16 @@ install:: all
install $$file $(DESTDIR)$(libpdbindir)/$$file; done
install $(BINARYMODE) $(SO) $(DESTDIR)$(libdir)/$(SO)
test -w /etc/ld.so.cache && ldconfig || true
- $(CXX) $(LDFLAGS) $(DBG_CFLAGS) main.c -o $(DESTDIR)$(bindir)/pd$(EXE) $(WSTRIP)
+ $(CXX) $(LDFLAGS) $(DBG_CFLAGS) main.c -lpd -o $(DESTDIR)$(bindir)/pd$(EXE) $(WSTRIP)
install -m755 desire.tk $(DESTDIR)$(bindir)/desire.tk
install -m755 desire $(DESTDIR)$(bindir)/desire
install -m755 pdsend$(EXE) $(DESTDIR)$(bindir)/pdsend$(EXE)
install -m755 pdreceive$(EXE) $(DESTDIR)$(bindir)/pdreceive$(EXE)
install -m755 $(WATCHDOG) $(DESTDIR)$(libpdbindir)/$(WATCHDOG)
- find locale -name .svn -prune -o -type f -exec install -D -m644 '{}' $(DESTDIR)$(libpdbindir)/'{}' ';'
- find icons -name .svn -prune -o -type f -exec install -D -m644 '{}' $(DESTDIR)$(libpddir)/'{}' ';'
- find ../doc -name .svn -prune -o -type f -exec install -D -m644 '{}' $(DESTDIR)$(pddocdir)/'{}' ';'
- find ../extra -name .svn -prune -o -type f -exec install -D -m644 '{}' $(DESTDIR)$(libpddir)/'{}' ';'
+ find locale $(FINDFLAGS) -exec install -D -m644 '{}' $(DESTDIR)$(libpdbindir)/'{}' ';'
+ find icons $(FINDFLAGS) -exec install -D -m644 '{}' $(DESTDIR)$(libpddir)/'{}' ';'
+ find ../doc $(FINDFLAGS) -exec install -D -m644 '{}' $(DESTDIR)$(pddocdir)/'{}' ';'
+ find ../extra $(FINDFLAGS) -exec install -D -m644 '{}' $(DESTDIR)$(libpddir)/'{}' ';'
install -d $(DESTDIR)$(includedir)
for file in m_pd.h desire.h; do install -m644 $$file $(DESTDIR)$(includedir)/$$file; done
install -d $(DESTDIR)$(mandir)/man1