aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-05-15 22:49:58 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-05-15 22:49:58 +0000
commit3c47b7d91c43cfaf19b7a2aff37f5b6f30c2fd60 (patch)
tree4e47a451277707a8eb295f62f4c6521eab5166a1
parent69613dbb261b390cd3f85e3c9bc26f64cb39f7b0 (diff)
converted to makefile template and debianized
svn path=/trunk/; revision=13548
-rw-r--r--abstractions/Makefile29
1 files changed, 7 insertions, 22 deletions
diff --git a/abstractions/Makefile b/abstractions/Makefile
index 1ea036f9..29a50dca 100644
--- a/abstractions/Makefile
+++ b/abstractions/Makefile
@@ -89,31 +89,16 @@ gyre_install:
$(DESTDIR)$(examplesdir)/$(GYRE_NAME)
-#-------------------------------------------------------------------------------
+#------------------------------------------------------------------------------#
# JMMMP
-JMMMP_NAME = jmmmp
+jmmmp:
+ make -C $(abstractions_src)/jmmmp
+
jmmmp_install:
- install -d $(DESTDIR)$(objectsdir)/$(JMMMP_NAME)
- $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(JMMMP_NAME) \
- --author "Joao Miguel Pais <jmmmpais@googlemail.com>" \
- --description "" \
- --license "BSD" \
- --version ""
- install -p $(abstractions_src)/jmmmp/*.pd \
- $(DESTDIR)$(objectsdir)/$(JMMMP_NAME)
-# install -d $(DESTDIR)$(manualsdir)/$(JMMMP_NAME)
-# install -p $(abstractions_src)/jmmmp/*.html \
-# $(DESTDIR)$(manualsdir)/$(JMMMP_NAME)
-# install -d $(DESTDIR)$(examplesdir)/$(JMMMP_NAME)
-# install -p $(abstractions_src)/jmmmp/examples/jmmmp.pd \
-# $(DESTDIR)$(examplesdir)/$(JMMMP_NAME)
- install -d $(DESTDIR)$(readmesdir)
- install -p $(abstractions_src)/jmmmp/jmmmp-ext.txt \
- $(DESTDIR)$(readmesdir)/$(JMMMP_NAME).txt
- install -d $(DESTDIR)$(objectsdir)/$(JMMMP_NAME)/manual
- install -p $(abstractions_src)/jmmmp/jmmmp-ext.txt \
- $(DESTDIR)$(objectsdir)/$(JMMMP_NAME)/manual/
+ make -C $(abstractions_src)/jmmmp DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install
+jmmmp_clean:
+ make -C $(abstractions_src)/jmmmp clean
#-------------------------------------------------------------------------------