aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2013-11-21 14:27:51 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2013-11-21 14:27:51 +0000
commit898e9694323606c78fc40eadfa5946b79175bdce (patch)
tree9ac77699f2cfcbafc90555917f58511916fd4442 /Makefile
parentddd191eccfc921e447e97e6ac765a6cb181afedc (diff)
no curly-brazes in Makefile; DESTDIR support
svn path=/trunk/externals/iemlib/; revision=17225
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index ebd1129..37ca2ee 100644
--- a/Makefile
+++ b/Makefile
@@ -22,22 +22,22 @@ $(IEMLIBS):
install: install-bin install-doc install-abs
install-bin:
- -install -d ${INSTALL_BIN}
- -install -m 644 lib/*.* $(INSTALL_BIN)
+ -install -d $(DESTDIR)$(INSTALL_BIN)
+ -install -m 644 lib/*.* $(DESTDIR)$(INSTALL_BIN)
install-doc:
- -install -d ${INSTALL_DOC}
- -for d in ${IEMLIBS}; do \
+ -install -d $(DESTDIR)$(INSTALL_DOC)
+ -for d in $(IEMLIBS); do \
for e in pd wav; do \
- install -m644 $$d/*.$$e $(INSTALL_DOC); \
+ install -m644 $$d/*.$$e $(DESTDIR)$(INSTALL_DOC); \
done; \
done
install-abs:
- -install -d ${INSTALL_BIN}
- -install -m 644 iemabs/*.pd $(INSTALL_BIN)
+ -install -d $(DESTDIR)$(INSTALL_BIN)
+ -install -m 644 iemabs/*.pd $(DESTDIR)$(INSTALL_BIN)
clean:
- for d in ${IEMLIBS}; do \
- ${MAKE} -C $$d/src clean; \
+ for d in $(IEMLIBS); do \
+ $(MAKE) -C $$d/src clean; \
done