[Pkg-octave-commit] [SCM] octave-ftp branch, master, updated. 68cd67cc49847cf144486be2661fc28b46c35de6
Rafael Laboissiere
rafael at debian.org
Sat May 16 18:56:49 UTC 2009
The following commit has been merged in the master branch:
commit 3c8ac62306d5326fb6b35604d102655bde74bfcc
Author: Rafael Laboissiere <rafael at debian.org>
Date: Sat May 16 20:53:51 2009 +0200
Changes to ftp_wrap.cc will not appear in .diff.gz
diff --git a/debian/changelog b/debian/changelog
index e08a260..cae7b15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ octave-ftp (1.0.2-2) UNRELEASED; urgency=low
refer to the ftp package
* debian/rules:
+ Enable building of binding by SWIG
+ + Ensure that changes to src/ftp_wrap.cc will not appear in the
+ .diff.gz file
-- Rafael Laboissiere <rafael at debian.org> Sat, 16 May 2009 20:48:41 +0200
diff --git a/debian/rules b/debian/rules
index f0942fe..22e252f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,10 @@ include /usr/share/cdbs/1/class/octave-pkg.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
export with_swig = yes
+
+WRAPPER = src/ftp_wrap.cpp
+makebuilddir/octave-ftp::
+ if [ ! -f $(WRAPPER)-orig ] ; then mv $(WRAPPER) $(WRAPPER)-orig ; fi
+
+clean::
+ if [ -f $(WRAPPER)-orig ] ; then mv $(WRAPPER)-orig $(WRAPPER) ; fi
--
octave-ftp
More information about the Pkg-octave-commit
mailing list