[Pkg-haskell-commits] darcs: hlint: Use more debhelper files, less debian/rules

Joachim Breitner mail at joachim-breitner.de
Fri Aug 26 14:12:16 UTC 2011


Fri Aug 26 14:08:27 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * Use more debhelper files, less debian/rules
  Ignore-this: 203d153e40a5864b940aeffe35616de2

     ./manpages -> ./hlint.manpages
    A ./hlint.docs
    A ./hlint.install
    M ./rules -6 +1

Fri Aug 26 14:08:27 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * Use more debhelper files, less debian/rules
  Ignore-this: 203d153e40a5864b940aeffe35616de2
diff -rN -u old-hlint//hlint.docs new-hlint//hlint.docs
--- old-hlint//hlint.docs	1970-01-01 00:00:00.000000000 +0000
+++ new-hlint//hlint.docs	2011-08-26 14:12:16.033058410 +0000
@@ -0,0 +1 @@
+hlint.htm
diff -rN -u old-hlint//hlint.install new-hlint//hlint.install
--- old-hlint//hlint.install	1970-01-01 00:00:00.000000000 +0000
+++ new-hlint//hlint.install	2011-08-26 14:12:16.033058410 +0000
@@ -0,0 +1,7 @@
+dist-ghc/build/hlint/hlint /usr/bin
+data/hs-lint.el /usr/share/emacs/site-lisp
+hlint.htm /usr/share/doc/hlint
+data/*.hs /usr/share/hlint
+data/report_template.html /usr/share/hlint
+data/hlint.ghci /usr/share/hlint
+
diff -rN -u old-hlint//hlint.manpages new-hlint//hlint.manpages
--- old-hlint//hlint.manpages	1970-01-01 00:00:00.000000000 +0000
+++ new-hlint//hlint.manpages	2011-08-26 14:12:16.037058248 +0000
@@ -0,0 +1 @@
+debian/hlint.1
diff -rN -u old-hlint//manpages new-hlint//manpages
--- old-hlint//manpages	2011-08-26 14:12:16.001058989 +0000
+++ new-hlint//manpages	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-debian/hlint.1
diff -rN -u old-hlint//rules new-hlint//rules
--- old-hlint//rules	2011-08-26 14:12:16.025057365 +0000
+++ new-hlint//rules	2011-08-26 14:12:16.037058248 +0000
@@ -6,14 +6,9 @@
 include /usr/share/cdbs/1/class/hlibrary.mk
 
 # If no threaded RTS is found, disable it
-DEB_SETUP_GHC_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc-$(GHC_VERSION)/libHSrts_thr.a || echo --flags=-threaded)
+DEB_SETUP_GHC_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc-$(GHC_VERSION)/libHSrts_thr.a || echo --flags=-threaded) --datasubdir=/usr/share/hlint
 
 build/$(CABAL_PACKAGE) :: build-ghc-stamp
 
 install/$(CABAL_PACKAGE) :: build/$(CABAL_PACKAGE)
-	$(DEB_SETUP_BIN_NAME) copy --builddir=dist-ghc --destdir=debian/$(CABAL_PACKAGE)
-	mkdir -p debian/$(CABAL_PACKAGE)/usr/share/emacs/site-lisp
-	mv debian/$(CABAL_PACKAGE)/usr/share/hlint-*/hs-lint.el debian/$(CABAL_PACKAGE)/usr/share/emacs/site-lisp
-	rm -rf debian/$(CABAL_PACKAGE)/usr/share/doc
-	install -Dm 644 hlint.htm debian/$(CABAL_PACKAGE)/usr/share/doc/$(CABAL_PACKAGE)/hlint.html
 





More information about the Pkg-haskell-commits mailing list