[Pkg-ocaml-maint-commits] [SCM] hevea-doc packaging branch, experimental/master, updated. debian/1.10-2-18-gcd6bbd5
Ralf Treinen
treinen at free.fr
Sat Oct 6 14:35:07 UTC 2012
The following commit has been merged in the experimental/master branch:
commit cd6bbd56503562d0edab39768025ef28ac55ae51
Author: Ralf Treinen <treinen at free.fr>
Date: Thu Oct 4 19:52:31 2012 +0200
convert debian/rules to dh(1)
diff --git a/debian/changelog b/debian/changelog
index 3d5da73..7476613 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,8 +10,12 @@ hevea-doc (2.00-1) experimental; urgency=low
* New upstream release.
* Standards-Version 3.9.3
- debian/copyright: migrate to machine-readable format 1.0
+ * migrate to dh(1):
+ - rewrite debian/rules
+ - add debian/hevea-doc/{links,dirs,install}
+ - debian/control: bump version in build-dependency on debhelper
- -- Ralf Treinen <treinen at debian.org> Thu, 04 Oct 2012 13:08:51 +0200
+ -- Ralf Treinen <treinen at debian.org> Thu, 04 Oct 2012 20:07:48 +0200
hevea-doc (1.10-3) unstable; urgency=low
diff --git a/debian/control b/debian/control
index c7f5b3a..308da69 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
Uploaders: Ralf Treinen <treinen at debian.org>,
Remi Vanicat <vanicat at debian.org>,
Samuel Mimram <smimram at debian.org>
-Build-Depends: debhelper (>= 7.0)
+Build-Depends: debhelper (>= 7.0.50~)
Standards-Version: 3.9.3
Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/hevea-doc.git
Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/hevea-doc.git
diff --git a/debian/hevea-doc.dirs b/debian/hevea-doc.dirs
new file mode 100644
index 0000000..8145ab3
--- /dev/null
+++ b/debian/hevea-doc.dirs
@@ -0,0 +1,2 @@
+/usr/share/doc/hevea/html
+/usr/share/doc/hevea-doc
diff --git a/debian/hevea-doc.install b/debian/hevea-doc.install
new file mode 100644
index 0000000..cea42c1
--- /dev/null
+++ b/debian/hevea-doc.install
@@ -0,0 +1 @@
+*.html *.gif *.png *.css /usr/share/doc/hevea/html
diff --git a/debian/hevea-doc.links b/debian/hevea-doc.links
new file mode 100644
index 0000000..c7c79db
--- /dev/null
+++ b/debian/hevea-doc.links
@@ -0,0 +1 @@
+/usr/share/doc/hevea/html /usr/share/doc/hevea-doc/html
diff --git a/debian/rules b/debian/rules
index 9f5c834..9f48613 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,44 +1,7 @@
#!/usr/bin/make -f
-# debian/rules for hevea-doc
-#export DH_VERBOSE=1
+%:
+ dh $@
-HTMLDIR=usr/share/doc/hevea/html
-DOCDIR=usr/share/doc/hevea-doc
-
-build: build-stamp
-
-build-stamp:
- touch build-stamp
-
-install:
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs $(HTMLDIR) $(DOCDIR)
- cp *.* debian/hevea-doc/$(HTMLDIR)
- ln -sf ../hevea/html debian/hevea-doc/$(DOCDIR)/html
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- dh_clean
-
-binary-arch:
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs
- dh_link
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+override_dh_auto_build:
+# nothing to do!
--
hevea-doc packaging
More information about the Pkg-ocaml-maint-commits
mailing list