[Pkg-octave-commit] r2640 - in octave/trunk/debian: . patches

Rafael Laboissiere rafael at alioth.debian.org
Wed Feb 11 02:06:49 UTC 2009


Author: rafael
Date: 2009-02-11 02:06:49 +0000 (Wed, 11 Feb 2009)
New Revision: 2640

Added:
   octave/trunk/debian/patches/clean-examples-subdir.dpatch
Modified:
   octave/trunk/debian/changelog
Log:
Add patch

Modified: octave/trunk/debian/changelog
===================================================================
--- octave/trunk/debian/changelog	2009-02-11 02:04:58 UTC (rev 2639)
+++ octave/trunk/debian/changelog	2009-02-11 02:06:49 UTC (rev 2640)
@@ -4,7 +4,9 @@
   * debian/patches/:
     + dont_set_helvetica.dpatch: Adapt patch for this new release
     + glpk-new-api.dpatch, sane-file-stat-return.dpatch: Drop patches
-    (applied upstream)
+      (applied upstream)
+    + clean-examples-subdir.dpatch: Avoid files left in examples/@polynomial
+      after make distclean
   * debian/in/control: Build-depend on libftgl-dev, such that Octave is
     compiled with the experimental OpenGL/FLTK based backend, which will
     replace gnuplot

Added: octave/trunk/debian/patches/clean-examples-subdir.dpatch
===================================================================
--- octave/trunk/debian/patches/clean-examples-subdir.dpatch	                        (rev 0)
+++ octave/trunk/debian/patches/clean-examples-subdir.dpatch	2009-02-11 02:06:49 UTC (rev 2640)
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## -*- diff -*-
+## clean-examples-subdir.dpatch by Rafael Laboissiere <rafael at debian.org>
+##
+## DP: Run some clean commands in subdirectory examples/@polynomial
+
+ at DPATCH@
+--- octave3.1-3.1.52.orig/examples/Makefile.in
++++ octave3.1-3.1.52/examples/Makefile.in
+@@ -125,14 +125,17 @@
+ clean mostlyclean:
+ .PHONY: clean mostlyclean
+ 
+-distclean:
++distclean::
+ 	rm -f Makefile octave.desktop
+ .PHONY: distclean
+ 
+-maintainer-clean: distclean
++maintainer-clean:: distclean
+ 	rm -f tags TAGS
+ .PHONY: maintainer-clean
+ 
++distclean maintainer-clean::
++	@$(subdir-for-command)
++
+ dist:
+ 	ln $(DISTFILES) ../`cat ../.fname`/examples
+ 	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/examples/$$dir; $(MAKE) -C $$dir $@; done


Property changes on: octave/trunk/debian/patches/clean-examples-subdir.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-octave-commit mailing list