[Pkg-haskell-commits] darcs: haskell-convertible: First debian/rules done

John Goerzen jgoerzen at complete.org
Fri Jan 4 14:37:06 UTC 2013


Tue Dec 27 22:47:23 UTC 2005  John Goerzen <jgoerzen at complete.org>
  * First debian/rules done
  Ignore-this: 507b5c1e8c07e2998987efe38c24f88e
  

    M ./rules -20 +62

Tue Dec 27 22:47:23 UTC 2005  John Goerzen <jgoerzen at complete.org>
  * First debian/rules done
  Ignore-this: 507b5c1e8c07e2998987efe38c24f88e
  
diff -rN -u old-haskell-convertible//rules new-haskell-convertible//rules
--- old-haskell-convertible//rules	2013-01-04 14:37:04.751745492 +0000
+++ new-haskell-convertible//rules	2013-01-04 14:37:06.658749617 +0000
@@ -42,7 +42,7 @@
 	dh_testdir
 
 	# Add here commands to compile the package.
-	$(MAKE)
+	#$(MAKE)
 
 	touch build-stamp
 
@@ -52,31 +52,73 @@
 	rm -f build-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
+	#-$(MAKE) clean
+	./setup clean
+	-rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist
 
 	dh_clean 
 
-install: build
+install-a: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
 
 	# Add here commands to install the package into debian/tmp
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	dh_haskell -a
+
+install-i: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	dh_haskell -i
+
+
 
 
 # Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary-indep: build install-i
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_installexamples -i
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman -i
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
 
 # Build architecture-dependent files here.
-binary-arch: build install
+binary-arch: build install-a
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_installexamples -a
 #	dh_install
 #	dh_installmenu
 #	dh_installdebconf	
@@ -87,19 +129,19 @@
 #	dh_installinit
 #	dh_installcron
 #	dh_installinfo
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
+	dh_installman -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
 #	dh_perl
 #	dh_python
 #	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure





More information about the Pkg-haskell-commits mailing list