[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.5.0-27-g06b20ef

Mehdi Dogguy dogguy at pps.jussieu.fr
Fri Jul 24 02:39:31 UTC 2009


The following commit has been merged in the master branch:
commit 06b20efcc4c4b1c7a09c0e69752b761d110a4316
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date:   Fri Jul 24 04:38:21 2009 +0200

    Simplify build process

diff --git a/Makefile b/Makefile
index 9c2d07e..2f263c7 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ DOCS =						\
 
 all: $(DOCS)
 	$(MAKE) -C debhelper/ $@
+	$(MAKE) -C manpages
 
 policy/%:
 	$(MAKE) -C policy/ $*
diff --git a/debian/changelog b/debian/changelog
index a1877d0..03823d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ dh-ocaml (0.5.1) UNRELEASED; urgency=low
   [ Mehdi Dogguy ]
   * Install ocaml.pm to enable: dh --with ocaml
   * Execute dh_ocaml before dh_gencontrol in the dh sequence
+  * Simplify build process
 
  -- Mehdi Dogguy <dogguy at pps.jussieu.fr>  Fri, 24 Jul 2009 03:56:45 +0200
 
diff --git a/debian/rules b/debian/rules
index 26a48e5..772bef4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,7 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	$(MAKE) -C manpages
-	touch build-stamp
+%:
+	dh $@
 
-clean:
-	dh clean
-
-install: build install-stamp
-install-stamp:
+dh_override_dh_auto_install:
 	chmod +x share/ocamldoc-api-ref-config
-	dh install
-	touch install-stamp
-
-binary: binary-arch binary-indep
-binary-arch:
-binary-indep: install
-	dh binary-indep
-

-- 
dh-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list