From 5221e81cc5f195b32758617409cdc39e12277b82 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 17 Feb 2002 17:52:47 +0000 Subject: r510: * Thanks to Benjamin Drieu , 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 --- doc/PROGRAMMING | 3 +++ doc/TODO | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index b12a1a26..d90d50ca 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 diff --git a/doc/TODO b/doc/TODO index 548a3949..81ba0d6c 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: -- cgit v1.2.3