]> git.saurik.com Git - apt.git/commitdiff
use *.docs files instead of hardcoding in debian/rules
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 25 May 2016 06:32:01 +0000 (08:32 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 25 May 2016 06:32:01 +0000 (08:32 +0200)
Git-Dch: Ignore

debian/apt-doc.docs
debian/apt-transport-https.docs [new file with mode: 0644]
debian/apt.examples
debian/libapt-pkg-doc.docs [new file with mode: 0644]
debian/rules

index d59100e8ddd866f8e4d0c56fa4840b9ffea58133..6ef98537125004768a96f90fe689042fe30d9547 100644 (file)
@@ -1,3 +1,5 @@
+build/docs/guide*
+build/docs/offline*
 README.progress-reporting
 doc/external-dependency-solver-protocol.txt
 doc/acquire-additional-files.txt
 README.progress-reporting
 doc/external-dependency-solver-protocol.txt
 doc/acquire-additional-files.txt
diff --git a/debian/apt-transport-https.docs b/debian/apt-transport-https.docs
new file mode 100644 (file)
index 0000000..906c1db
--- /dev/null
@@ -0,0 +1 @@
+debian/apt-transport-https.README
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..622ef80b10f0886325d6190943e348ed3717ceee 100644 (file)
@@ -0,0 +1 @@
+build/docs/examples/*
diff --git a/debian/libapt-pkg-doc.docs b/debian/libapt-pkg-doc.docs
new file mode 100644 (file)
index 0000000..1ad92a8
--- /dev/null
@@ -0,0 +1,7 @@
+build/docs/design*
+build/docs/dpkg-tech*
+build/docs/files*
+build/docs/method*
+doc/libapt-pkg2_to_3.txt
+doc/style.txt
+build/doc/doxygen/html
index bdc539fefce242669a3be3b140c2c15d4fb23b7e..cbe7e70b6106ed4025010f445a7fc2d4cdf32201 100755 (executable)
@@ -133,13 +133,7 @@ libapt-pkg-doc: build-docbook
 # libapt-pkg-doc install
 #
        rm -f $(BLD)/doc/doxygen/html/*.map $(BLD)/doc/doxygen/html/*.md5
 # libapt-pkg-doc install
 #
        rm -f $(BLD)/doc/doxygen/html/*.map $(BLD)/doc/doxygen/html/*.md5
-       dh_installdocs -p$@ $(BLD)/docs/design* \
-                           $(BLD)/docs/dpkg-tech* \
-                           $(BLD)/docs/files* \
-                           $(BLD)/docs/method* \
-                           doc/libapt-pkg2_to_3.txt \
-                           doc/style.txt \
-                           $(BLD)/doc/doxygen/html
+       dh_installdocs -p$@
        dh_installexamples -p$@
        dh_lintian -p$@
        dh_installchangelogs -p$@
        dh_installexamples -p$@
        dh_lintian -p$@
        dh_installchangelogs -p$@
@@ -159,10 +153,7 @@ apt-doc: build-docbook
 # apt-doc install
 #
        # Copy the guides
 # apt-doc install
 #
        # Copy the guides
-       dh_installdocs -p$@ $(BLD)/docs/guide*.text \
-                           $(BLD)/docs/guide*.html \
-                           $(BLD)/docs/offline*.text \
-                           $(BLD)/docs/offline*.html
+       dh_installdocs -p$@
        dh_installchangelogs -p$@
        dh_compress -p$@
        dh_fixperms -p$@
        dh_installchangelogs -p$@
        dh_compress -p$@
        dh_fixperms -p$@
@@ -214,7 +205,7 @@ apt: build-binary build-manpages debian/apt.install
 
        dh_bugfiles -p$@
        dh_lintian -p$@
 
        dh_bugfiles -p$@
        dh_lintian -p$@
-       dh_installexamples -p$@ $(BLD)/docs/examples/*
+       dh_installexamples -p$@
        dh_installman -p$@ $(wildcard $(patsubst %,doc/en/%.[158],$(apt_MANPAGES)) $(patsubst %,doc/*/%.*.[158],$(apt_MANPAGES)))
        dh_installcron -p$@ --name=apt-compat
        dh_systemd_enable -p$@ apt-daily.timer
        dh_installman -p$@ $(wildcard $(patsubst %,doc/en/%.[158],$(apt_MANPAGES)) $(patsubst %,doc/*/%.*.[158],$(apt_MANPAGES)))
        dh_installcron -p$@ --name=apt-compat
        dh_systemd_enable -p$@ apt-daily.timer
@@ -314,7 +305,7 @@ $(LIBAPT_INST): build-binary debian/$(LIBAPT_INST).install
        dh_fixperms -p$@
        dh_makeshlibs -p$@
        dh_installdeb -p$@
        dh_fixperms -p$@
        dh_makeshlibs -p$@
        dh_installdeb -p$@
-       dh_shlibdeps -p$@ 
+       dh_shlibdeps -p$@
        dh_gencontrol -p$@
        dh_md5sums -p$@
        dh_builddeb -p$@
        dh_gencontrol -p$@
        dh_md5sums -p$@
        dh_builddeb -p$@
@@ -326,7 +317,7 @@ apt-transport-https: build-binary libapt-pkg-dev
        dh_installdirs -p$@
 
        dh_install -p$@ --sourcedir=$(BLD)
        dh_installdirs -p$@
 
        dh_install -p$@ --sourcedir=$(BLD)
-       dh_installdocs -p$@ debian/apt-transport-https.README
+       dh_installdocs -p$@
        dh_installexamples -p$@
 
        # Install the man pages..
        dh_installexamples -p$@
 
        # Install the man pages..
@@ -337,7 +328,7 @@ apt-transport-https: build-binary libapt-pkg-dev
        dh_compress -p$@
        dh_fixperms -p$@
        dh_installdeb -p$@
        dh_compress -p$@
        dh_fixperms -p$@
        dh_installdeb -p$@
-       dh_shlibdeps -p$@ 
+       dh_shlibdeps -p$@
        dh_gencontrol -p$@
        dh_md5sums -p$@
        dh_builddeb -p$@
        dh_gencontrol -p$@
        dh_md5sums -p$@
        dh_builddeb -p$@