aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-07-17 17:26:19 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-07-17 17:26:19 +0000
commit2a8c286964fa33cac6d07f381966be389871bb19 (patch)
treeb1b0434833ef3beba081abc7182589d37306a215
parentb6511707e5a1e3f8c7ccd9f979728f4d7c04eed1 (diff)
cleaned up debian buildsys
svn path=/trunk/; revision=774
-rw-r--r--externals/build/src/mean.c1
-rw-r--r--externals/build/src/wrap.c1
-rwxr-xr-xexternals/debian/rules20
3 files changed, 17 insertions, 5 deletions
diff --git a/externals/build/src/mean.c b/externals/build/src/mean.c
deleted file mode 100644
index 636f4423..00000000
--- a/externals/build/src/mean.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../zexy2/mean.c"
diff --git a/externals/build/src/wrap.c b/externals/build/src/wrap.c
deleted file mode 100644
index 960acc3b..00000000
--- a/externals/build/src/wrap.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "../../zexy2/wrap.c"
diff --git a/externals/debian/rules b/externals/debian/rules
index 03515b4c..67f23129 100755
--- a/externals/debian/rules
+++ b/externals/debian/rules
@@ -17,6 +17,10 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
+orig:
+ (cd ..;tar czvf pd-externals-00.`date +%Y%m%d`)
+
+
configure: configure-stamp
configure-stamp:
dh_testdir
@@ -24,8 +28,8 @@ configure-stamp:
touch configure-stamp
-orig:
- cd ..;tar --exclude=CVS -czvf pd-externals_0.3.orig.tar.gz externals
+orig: clean
+ cd ..;tar --exclude=CVS -czvf pd-externals_0.3.orig.tar.gz pd-externals
build: build-stamp
@@ -72,6 +76,13 @@ clean:
dh_testroot
rm -f build-stamp configure-stamp
+ # Remove the garbage that ppl put in CVS
+ -rm `find . -name "*.pd_linux"`
+ -rm `find . -name "*.lib"`
+ -rm `find . -name "*.o"`
+ -rm `find . -name "*.dll"`
+ -rm `find . -name "*.obj"`
+
# Add here commands to clean up after the build process.
-(cd build/linux;$(MAKE) clean)
@@ -84,7 +95,7 @@ clean:
(cd OSCx/libOSC;$(MAKE) clean)
(cd OSCx/OSC; $(MAKE) pd_linux_clean)
#
- (cd pdp;autoconf;./configure;$(MAKE) clean)
+ (cd pdp;autoconf;./configure;$(MAKE) mrproper)
dh_clean
@@ -110,6 +121,9 @@ install: build
install OSCx/OSC/OSC.pd_linux $(CURDIR)/debian/tmp/usr/lib/pd/extra
install OSCx/doc/*.pd $(CURDIR)/debian/tmp/usr/lib/pd/doc/5.reference
+ # install pdp (needs /usr/lib/extern)
+
+ mkdir $(CURDIR)/debian/tmp/usr/lib/pd/externs
(cd pdp;make prefix=$(CURDIR)/debian/tmp/usr/ install)
# Build architecture-independent files here.