Browse Source

use *.docs files instead of hardcoding in debian/rules

Git-Dch: Ignore
tags/debian/1.3_exp2
David Kalnischkies 5 years ago
parent
commit
cb6020cdfe
5 changed files with 17 additions and 15 deletions
  1. +2
    -0
      debian/apt-doc.docs
  2. +1
    -0
      debian/apt-transport-https.docs
  3. +1
    -0
      debian/apt.examples
  4. +7
    -0
      debian/libapt-pkg-doc.docs
  5. +6
    -15
      debian/rules

+ 2
- 0
debian/apt-doc.docs View 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

+ 1
- 0
debian/apt-transport-https.docs View File

@@ -0,0 +1 @@
debian/apt-transport-https.README

+ 1
- 0
debian/apt.examples View File

@@ -0,0 +1 @@
build/docs/examples/*

+ 7
- 0
debian/libapt-pkg-doc.docs View File

@@ -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

+ 6
- 15
debian/rules View File

@@ -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
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$@
@@ -159,10 +153,7 @@ apt-doc: build-docbook
# 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$@
@@ -214,7 +205,7 @@ apt: build-binary build-manpages debian/apt.install

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
@@ -314,7 +305,7 @@ $(LIBAPT_INST): build-binary debian/$(LIBAPT_INST).install
dh_fixperms -p$@
dh_makeshlibs -p$@
dh_installdeb -p$@
dh_shlibdeps -p$@
dh_shlibdeps -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_installdocs -p$@ debian/apt-transport-https.README
dh_installdocs -p$@
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_shlibdeps -p$@
dh_shlibdeps -p$@
dh_gencontrol -p$@
dh_md5sums -p$@
dh_builddeb -p$@


Loading…
Cancel
Save