[Pkg-haskell-commits] r851 - /packages/haskell-devscripts/trunk/debian/rules

arjan at users.alioth.debian.org arjan at users.alioth.debian.org
Sun Dec 30 18:11:10 UTC 2007


Author: arjan
Date: Sun Dec 30 18:11:09 2007
New Revision: 851

URL: http://svn.debian.org/wsvn/pkg-haskell/?sc=1&rev=851
Log:
[project @ cleanup the debian/rules file]

Original author: Arjan Oosting <arjanoosting at home.nl>
Date: 2007-07-25 20:00:26+00:00

Modified:
    packages/haskell-devscripts/trunk/debian/rules

Modified: packages/haskell-devscripts/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-devscripts/trunk/debian/rules?rev=851&op=diff
==============================================================================
--- packages/haskell-devscripts/trunk/debian/rules (original)
+++ packages/haskell-devscripts/trunk/debian/rules Sun Dec 30 18:11:09 2007
@@ -9,22 +9,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	# Add here commands to configure the package.
-
 	touch configure-stamp
 
 
@@ -32,11 +19,6 @@
 
 build-stamp: configure-stamp 
 	dh_testdir
-
-	# Add here commands to compile the package.
-	#$(MAKE)
-	#docbook-to-man debian/haskell-devscripts.sgml > haskell-devscripts.1
-
 	touch build-stamp
 
 clean:
@@ -44,9 +26,6 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 	rm -f dh_haskell.1
-
-	# Add here commands to clean up after the build process.
-
 	dh_clean 
 
 install: build
@@ -54,10 +33,7 @@
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
-
-	# Add here commands to install the package into debian/haskell-devscripts.
-	#$(MAKE) install DESTDIR=$(CURDIR)/debian/haskell-devscripts
-	pod2man dh_haskell_build > dh_haskell.1
+	pod2man --name=dh_haskell dh_haskell_build > dh_haskell.1
 	cp dh_haskell dh_haskell_install dh_haskell_buildinst dh_haskell_prep dh_haskell_build debian/haskell-devscripts/usr/bin/
 	cp p*-ghc debian/haskell-devscripts/usr/share/debhelper/autoscripts/
 	cp Dh_Haskell.pm debian/haskell-devscripts/usr/share/haskell-devscripts
@@ -73,24 +49,11 @@
 	dh_installchangelogs 
 	dh_installdocs
 	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
 	dh_installman dh_haskell.1
 	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol




More information about the Pkg-haskell-commits mailing list