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

Rafael Laboissiere rafael at alioth.debian.org
Mon Mar 9 11:26:10 UTC 2009


Author: rafael
Date: 2009-03-09 11:26:09 +0000 (Mon, 09 Mar 2009)
New Revision: 2712

Added:
   octave/trunk/debian/patches/remove-y.tab.h-in-maintainer-clean.dpatch
Modified:
   octave/trunk/debian/changelog
   octave/trunk/debian/in/00list
Log:
New patch for avoiding src/y.tab.h to be removed by make distclean

Modified: octave/trunk/debian/changelog
===================================================================
--- octave/trunk/debian/changelog	2009-03-09 01:24:41 UTC (rev 2711)
+++ octave/trunk/debian/changelog	2009-03-09 11:26:09 UTC (rev 2712)
@@ -2,6 +2,8 @@
 
   * New upstream development snapshot
   * debian/in/control: Build-Depend on libqrupdate-dev for octave3.1
+  * debian/patches/remove-y.tab.h-in-maintainer-clean.dpatch: New patch
+    for avoiding src/y.tab.h to be removed by make distclean
 
  -- Rafael Laboissiere <rafael at debian.org>  Mon, 09 Mar 2009 01:36:46 +0100
 

Modified: octave/trunk/debian/in/00list
===================================================================
--- octave/trunk/debian/in/00list	2009-03-09 01:24:41 UTC (rev 2711)
+++ octave/trunk/debian/in/00list	2009-03-09 11:26:09 UTC (rev 2712)
@@ -11,4 +11,5 @@
 no_pdf_in_print.dpatch
 dont_set_helvetica-3.1.dpatch
 normal-markersize.dpatch
+remove-y.tab.h-in-maintainer-clean.dpatch
 :]

Added: octave/trunk/debian/patches/remove-y.tab.h-in-maintainer-clean.dpatch
===================================================================
--- octave/trunk/debian/patches/remove-y.tab.h-in-maintainer-clean.dpatch	                        (rev 0)
+++ octave/trunk/debian/patches/remove-y.tab.h-in-maintainer-clean.dpatch	2009-03-09 11:26:09 UTC (rev 2712)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## -*- diff -*-
+## remove-y.tab.h-in-maintainer-clean.dpatch by Rafael Laboissiere <rafael at debian.org>
+##
+## DP: Do not remove y.tab.h in the distclean rule. Built sources
+## DP: distributed in the tarball must be removed in maintainer-clean rule.
+
+ at DPATCH@
+diff -r 346fde2030b5 src/Makefile.in
+--- a/src/Makefile.in	Sun Mar 08 19:18:44 2009 +0100
++++ b/src/Makefile.in	Mon Mar 09 08:43:20 2009 +0100
+@@ -562,13 +562,13 @@ mostlyclean: clean
+ 
+ distclean: clean
+ 	rm -f Makefile octave$(EXEEXT) .fname so_locations oct-errno.cc
+-	rm -f tags TAGS y.tab.h y.output yy.lex.c parse.output
++	rm -f tags TAGS y.output yy.lex.c parse.output
+ 	rm -f stamp-liboctave-prereq
+ 	rm -f doc-files gendoc.cc graphics.h graphics-props.cc mxarray.h DOCSTRINGS
+ .PHONY: distclean
+ 
+ maintainer-clean: distclean
+-	rm -f lex.cc parse.cc
++	rm -f lex.cc parse.cc y.tab.h
+ 	rm -f oct-gperf.h $(OPT_HANDLERS)
+ .PHONY: maintainer-clean
+ 




More information about the Pkg-octave-commit mailing list