aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2002-11-06 17:56:51 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2002-11-06 17:56:51 +0000
commit12b91ec71c60f61f97a32fb63e7936fc651a8b0e (patch)
treea14e0f9f39baac07a85bc01e4e87db1a1a9f36f9 /externals
parentb62521e46b51f4cda2d30499ef44178163c5483c (diff)
small change in how documentation gets installed
svn path=/trunk/; revision=203
Diffstat (limited to 'externals')
-rw-r--r--externals/build/linux/makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/build/linux/makefile b/externals/build/linux/makefile
index 83aaf1e1..a6100db7 100644
--- a/externals/build/linux/makefile
+++ b/externals/build/linux/makefile
@@ -11,7 +11,7 @@ LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
-LINUXINCLUDE = -I. -I.. -I../../../pd/src
+LINUXINCLUDE = -I. -I.. -I../include
%.pd_linux: ../src/%.c
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o "$*.o" -c "../src/$*.c"
@@ -25,9 +25,11 @@ clean:
-rm link.stamp
install-doc:
+ @test -d $(prefix)/lib/pd/doc/5.reference || mkdir -p $(prefix)/lib/pd/doc/5.reference
cp -r ../doc/* $(prefix)/lib/pd/doc/5.reference
install: install-doc
+ @test -d $(prefix)/lib/pd/extra || mkdir -p $(prefix)/lib/pd/extra
install -m644 *.pd_linux $(prefix)/lib/pd/extra