aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2008-02-20 01:44:26 +0000
committerN.N. <matju@users.sourceforge.net>2008-02-20 01:44:26 +0000
commit66bd80fb0ac6cde04fbc303ffb8c25aefa6cf726 (patch)
treed2299f0b54217450e7f667ec7c189439664c2bab
parent4e7b07d493e41d0044bf2ae773389f7bb7759508 (diff)
use "find" instead of "cp -r", in order to ignore ".svn" folders
svn path=/trunk/; revision=9455
-rw-r--r--desiredata/src/makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/desiredata/src/makefile.in b/desiredata/src/makefile.in
index 3518e355..80e0a9f4 100644
--- a/desiredata/src/makefile.in
+++ b/desiredata/src/makefile.in
@@ -64,8 +64,6 @@ install:: all
install -d $(DESTDIR)$(libpdbindir)
for file in defaults.ddrc pkgIndex.tcl pre8.5.tcl poe.tcl bgerror.tcl; do \
install $$file $(DESTDIR)$(libpdbindir)/$$file; done
- cp -r locale $(DESTDIR)$(libpdbindir)
- cp -r ../icons $(DESTDIR)$(libpddir)
install $(BINARYMODE) $(SO) $(DESTDIR)$(libdir)/$(SO)
test -w /etc/ld.so.cache && ldconfig || true
$(CXX) $(LDFLAGS) $(DBG_CFLAGS) -lpd main.c -o $(DESTDIR)$(bindir)/pd
@@ -73,9 +71,11 @@ install:: all
install -m755 pdsend $(DESTDIR)$(bindir)/pdsend
install -m755 pdreceive $(DESTDIR)$(bindir)/pdreceive
install -m755 pd-watchdog $(DESTDIR)$(libpdbindir)/pd-watchdog
- mkdir -p $(DESTDIR)$(pddocdir)
- cp -pr ../doc/* $(DESTDIR)$(pddocdir)
- cp -pr ../extra/* $(DESTDIR)$(libpddir)
+ #mkdir -p $(DESTDIR)$(pddocdir)
+ 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)/'{}' ';'
# rm -f $(DESTDIR)$(libpddir)/extra/*/*.o
install -d $(DESTDIR)$(includedir)
for file in m_pd.h desire.h; do install -m644 $$file $(DESTDIR)$(includedir)/$$file; done