[Pkg-haskell-commits] darcs: haskell-devscripts: Fix "hlibrary.mk should do cleanup" by including Setup clean in the clean:: target of hlibrary.mk. (Closes: #575128)

Marco Túlio Gontijo e Silva marcot at debian.org
Sat Apr 3 21:34:07 UTC 2010


Tue Mar 30 23:57:32 UTC 2010  Marco T[_\c3_][_\ba_]lio Gontijo e Silva <marcot at debian.org>
  * Fix "hlibrary.mk should do cleanup" by including Setup clean in the clean:: target of hlibrary.mk.  (Closes: #575128)
  Ignore-this: 2d90b046eafe894e8e20775b74d124c8

    M ./debian/changelog +2
    M ./hlibrary.mk +1

Tue Mar 30 23:57:32 UTC 2010  Marco Túlio Gontijo e Silva <marcot at debian.org>
  * Fix "hlibrary.mk should do cleanup" by including Setup clean in the clean:: target of hlibrary.mk.  (Closes: #575128)
  Ignore-this: 2d90b046eafe894e8e20775b74d124c8
diff -rN -u old-haskell-devscripts/debian/changelog new-haskell-devscripts/debian/changelog
--- old-haskell-devscripts/debian/changelog	2010-04-03 21:34:07.741251228 +0000
+++ new-haskell-devscripts/debian/changelog	2010-04-03 21:34:07.757252085 +0000
@@ -6,6 +6,8 @@
     (Closes: #573925)
   * Move DEB_BUILD_DEPENDENCIES = build-arch to hlibrary.mk, instead of
     all packages debian/rules.
+  * Fix "hlibrary.mk should do cleanup" by including Setup clean in the
+    clean:: target of hlibrary.mk.  (Closes: #575128)
 
  -- Marco Túlio Gontijo e Silva <marcot at debian.org>  Tue, 23 Mar 2010 16:45:54 -0300
 
diff -rN -u old-haskell-devscripts/hlibrary.mk new-haskell-devscripts/hlibrary.mk
--- old-haskell-devscripts/hlibrary.mk	2010-04-03 21:34:07.741251228 +0000
+++ new-haskell-devscripts/hlibrary.mk	2010-04-03 21:34:07.749251656 +0000
@@ -62,6 +62,7 @@
 DEB_BUILD_DEPENDENCIES = build-arch
 
 clean::
+	[ -x "$(DEB_SETUP_BIN_NAME)" ] && $(DEB_SETUP_BIN_NAME) clean
 	rm -rf dist dist-ghc6 dist-hugs $(DEB_SETUP_BIN_NAME) Setup.hi Setup.ho Setup.o .*config*
 	rm -f build-ghc6-stamp build-hugs-stamp build-haddock-stamp
 	rm -rf debian/tmp-inst-ghc6





More information about the Pkg-haskell-commits mailing list