[Pkg-haskell-commits] darcs: haskell-devscripts: hlibrary.mk: Create HASKELL_HIDE_PACKAGES variable, to make it possible to create packages hidden by default.

Marco Túlio Gontijo e Silva marcot at debian.org
Fri Mar 5 23:13:35 UTC 2010


Fri Mar  5 23:06:02 UTC 2010  Marco T[_\c3_][_\ba_]lio Gontijo e Silva <marcot at debian.org>
  * hlibrary.mk: Create HASKELL_HIDE_PACKAGES variable, to make it possible to create packages hidden by default.
  Ignore-this: 2dcd642c4145fdb5d1d36b324cb40699

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

Fri Mar  5 23:06:02 UTC 2010  Marco Túlio Gontijo e Silva <marcot at debian.org>
  * hlibrary.mk: Create HASKELL_HIDE_PACKAGES variable, to make it possible to create packages hidden by default.
  Ignore-this: 2dcd642c4145fdb5d1d36b324cb40699
diff -rN -u old-haskell-devscripts/debian/changelog new-haskell-devscripts/debian/changelog
--- old-haskell-devscripts/debian/changelog	2010-03-05 23:13:35.428917114 +0000
+++ new-haskell-devscripts/debian/changelog	2010-03-05 23:13:35.440917748 +0000
@@ -1,3 +1,10 @@
+haskell-devscripts (0.7.5) UNRELEASED; urgency=low
+
+  * hlibrary.mk: Create HASKELL_HIDE_PACKAGES variable, to make it
+    possible to create packages hidden by default.
+
+ -- Marco Túlio Gontijo e Silva <marcot at debian.org>  Fri, 05 Mar 2010 19:50:39 -0300
+
 haskell-devscripts (0.7.4) unstable; urgency=low
 
   * Prevent building of packages with ghc6 << 6.12.1-10 
diff -rN -u old-haskell-devscripts/hlibrary.mk new-haskell-devscripts/hlibrary.mk
--- old-haskell-devscripts/hlibrary.mk	2010-03-05 23:13:35.428917114 +0000
+++ new-haskell-devscripts/hlibrary.mk	2010-03-05 23:13:35.432917325 +0000
@@ -104,6 +104,7 @@
 		\( ! -name "*_p.a" ! -name "*.p_hi" \) \
 		-exec install -Dm 644 '{}' ../$(notdir $@)/'{}' ';'
 	pkg_config=`$(DEB_SETUP_BIN_NAME) register --builddir=dist-ghc6 --gen-pkg-config | sed -r 's,.*: ,,'`; \
+		$(if $(HASKELL_HIDE_PACKAGES),sed -i 's/^exposed: True$$/exposed: False/' $$pkg_config;) \
 		install -Dm 644 $$pkg_config debian/$(notdir $@)/var/lib/ghc-$(GHC6_VERSION)/package.conf.d/$$pkg_config; \
 		rm -f $$pkg_config
 	mkdir -p debian/$(notdir $@)/$(DEB_HADDOCK_DIR)





More information about the Pkg-haskell-commits mailing list