[Pkg-octave-commit] rev 308 - trunk/packages/octave/debian

Rafael Laboissiere rafael at costa.debian.org
Thu Nov 3 12:30:34 UTC 2005


Author: rafael
Date: 2005-11-03 12:30:33 +0000 (Thu, 03 Nov 2005)
New Revision: 308

Modified:
   trunk/packages/octave/debian/rules
Log:
* rules: More rational removal of the maintainer scripts












Modified: trunk/packages/octave/debian/rules
===================================================================
--- trunk/packages/octave/debian/rules	2005-11-03 11:48:45 UTC (rev 307)
+++ trunk/packages/octave/debian/rules	2005-11-03 12:30:33 UTC (rev 308)
@@ -165,16 +165,9 @@
         ##doc/interpreter/octave.{dvi,ps} doc/faq/Octave-FAQ_*.html
         ##scripts/DOCSTRINGS
 	test ! -f octave-bug.in.orig || mv octave-bug.in.orig octave-bug.in
-	for i in $(PACKAGE) $(PACKAGE)-headers $(PACKAGE)-emacsen; do \
-		for j in postinst prerm; do \
-			rm -f debian/$${i}.$${j} ; \
-		done ; \
-	done
-	rm -f debian/$(PACKAGE).lintian octave-depends.1
 
-	for in in debian/in/PACKAGE* ; do \
-		rm -f `echo $$in | sed 's:/in/:/:;s/PACKAGE/$(PACKAGE)/'` ; \
-	done
+	rm -f `ls debian/in/PACKAGE* | sed 's/PACKAGE/$(PACKAGE)/;s:/in::'`
+	rm -f octave-depends.1
 
 	dh_clean
 




More information about the Pkg-octave-commit mailing list