[Pkg-haskell-commits] darcs: darcs: Fix rules

Joachim Breitner mail at joachim-breitner.de
Thu May 7 08:50:27 UTC 2015


Mon Dec 22 12:53:47 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Fix rules

    M! ./rules -8 +5

Mon Dec 22 12:53:47 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Fix rules
diff -rN -u old-darcs/rules new-darcs/rules
--- old-darcs/rules	2015-05-07 08:50:27.699739325 +0000
+++ new-darcs/rules	2015-05-07 08:50:27.711739325 +0000
@@ -1,9 +1,9 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
 
 DEB_CABAL_PACKAGE=darcs
-include /usr/share/cdbs/1/class/hlibrary.mk
 
 DEB_INSTALL_CHANGELOGS_ALL=NEWS
 
@@ -12,10 +12,7 @@
 binary-post-install/darcs::
 	dh_bash-completion
 
-# After checking out the debian/ repo, untar the associated upstream
-# tarball over the top of it.
-P = $(shell dpkg-parsechangelog | sed -rn 's/^Source: //p')
-V = $(shell dpkg-parsechangelog | sed -rn 's/^Version: (\d+:)?(.*)-.*/\2/p')
-get-orig-source:
-	uscan --download-current-version
-	tar -C .. --xform 's|^[^/]*|$(notdir $(CURDIR))|' -xf ../$P_$V.orig.tar.gz
+build/darcs :: build-ghc-stamp
+
+install/darcs :: build/$(CABAL_PACKAGE)
+




More information about the Pkg-haskell-commits mailing list