summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey>2002-02-17 17:52:47 +0000
committerjoey <joey>2002-02-17 17:52:47 +0000
commit5221e81cc5f195b32758617409cdc39e12277b82 (patch)
tree16cca2fc42f87c00168665693b0626e5d09f72d0 /doc
parent8e0691a21799ddf303419876e0681df88cfcf56e (diff)
r510: * Thanks to Benjamin Drieu <benj@debian.org>, dh_installdocs -X now works.
I had to modify his patch to use cp --parents, since -P spews warnings now. Also, I made it continue to use cp -a if nothing is excluded, which is both faster, and means this patch is less likely to break anything if it turns out to be buggy. Also, stylistic changes. Closes: #40649 * Implemented -X for dh_installexamples as well. * dh_clean -X substvars will also work now. Closes: #66890
Diffstat (limited to 'doc')
-rw-r--r--doc/PROGRAMMING3
-rw-r--r--doc/TODO2
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index b12a1a2..d90d50c 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -230,6 +230,9 @@ addsubstvar($package, $substvar, $deppackage, $verinfo, $remove)
delsubstvar($package, $substvar)
This function removes the entire line for the substvar from the
package's shlibs file.
+excludefile($filename)
+ This function returns true if -X has been used to ask for the file
+ to be excluded.
-- Joey Hess <joeyh@debian.org>
diff --git a/doc/TODO b/doc/TODO
index 548a394..81ba0d6 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -53,8 +53,6 @@ Wishlist items:
* Add a switch to dh_installdeb to allow it to do user defined
substitutions. OTOH, maybe it's better if people just sed
postinst.in before debhelper gets it's hands on it... (#25235)
-* dh_installdocs needs -X support, which probably means going with tar
- instead of cp -a. Ugh.
v4: