]> git.donarmstrong.com Git - debhelper.git/commitdiff
r94: Initial Import
authorjoey <joey>
Tue, 17 Aug 1999 04:53:30 +0000 (04:53 +0000)
committerjoey <joey>
Tue, 17 Aug 1999 04:53:30 +0000 (04:53 +0000)
debian/changelog
dh_lib
doc/PROGRAMMING
doc/from-debstd
examples/rules
examples/rules.indep
examples/rules.multi

index 873cfa6e001491e9e7999a670dcc02edda6fa1c4..180a6423867dbaf6a2d54f0d48e4640b89dc387d 100644 (file)
@@ -1,3 +1,17 @@
+debhelper (0.97) unstable; urgency=low
+
+  * doc/from-debstd: fixed a typo.
+  * examples/*: install-stamp no longer depends on phony build targey; now 
+    install-stamp depends on build-stamp instead (#24234).
+  * dh_fixperms: applied patch from Herbert Xu <herbert@gondor.apana.org.au>
+    to fix bad uses of the find command, so it should now work on packages 
+    with files with spaces in them (#22005). It's also much cleaner. Thanks,
+    Herbert!
+  * dh_getopt.pl, doc/PROGRAMMING: added DH_EXCLUDE_FIND, to make the above
+    fix work.
+
+ -- Joey Hess <joeyh@master.debian.org>  Sun,  5 Jul 1998 18:09:25 -0700
+
 debhelper (0.96) unstable; urgency=low
 
   * dh_movefiles: fixed serious breakage introduced in the last version.
diff --git a/dh_lib b/dh_lib
index 9e826499db052a65d562a3ec07c6a71b8f415044..7ebc8be179e5406c1caaacfeb4066ffd9287f819 100644 (file)
--- a/dh_lib
+++ b/dh_lib
@@ -82,13 +82,18 @@ pkgext() {
 # Caches return code so it only needs to run dpkg-parsechangelog once.
 isnative() {
        if [ -z "$DH_ISNATIVE" ]; then
+               # Make sure we look at the correct changelog.
+               isnative_changelog=`pkgfile $PACKAGE changelog`
+               if [ ! "$isnative_changelog" ]; then
+                       isnative_changelog=debian/changelog
+               fi
                # Get the package version.
                # Note that the 2>/dev/null is because a bug in dpkg-parsechangelog makes it
                # output a bogus error message to stderr.
                # If it actually has a real error, then the expr will fail, and this whole
                # script will come crashing to a halt, which is good enough to inform
                # the user something's wrong. :-)
-               VERSION=`expr "\`dpkg-parsechangelog 2>/dev/null\`" : \
+               VERSION=`expr "\`dpkg-parsechangelog -l$isnative_changelog 2>/dev/null\`" : \
                        '.*Version: \(.*\).*Distribution:'`
                # Is this a native Debian package?
                if expr "$VERSION" : '.*-' >/dev/null; then
index 7dc0c638e944e85cfb42e7099fbd827bea12963f..faaa9360b54c5a98022307c443f55a0f8e725548 100644 (file)
@@ -81,6 +81,8 @@ switch                variable        description
                DH_EXCLUDE_GREP same as DH_EXCLUDE, except all items are
                                separated by '|' characters, instead of spaces,
                                handy for egrep -v
+                DH_EXCLUDE_FIND same as DH_EXCLUDE, except all items are
+                                separated by " -or " 
 -x             DH_INCLUDE_CONFFILES
                                include conffiles. It's -x for obscure
                                historical reasons.
index 31fd0cdd3bdfccb47f8a4dfab2de5a4849f07e6c..50bf4ffb14d417aeda498223d1ab11f2fae071a6 100644 (file)
@@ -20,10 +20,10 @@ your package you are converting, run:
 
        dh_debstd CHANGES TODO README --verbose --no-act
 
-Notice the parallel to the debstd command above, I just added "--verbose --act"
-to the end. This will make dh_debstd output a list of commands that it thinks
-will emulate what debstd would have done, without actually doing anything to
-your package. The list will look similar to this:
+Notice the parallel to the debstd command above, I just added
+"--verbose --noact" to the end. This will make dh_debstd output a list of
+commands that it thinks will emulate what debstd would have done, without 
+actually doing anything to your package. The list will look similar to this:
 
         dh_installdirs
        dh_installdocs TODO README
index 7f339dc9c6b15323f0a690c85fae59f4ffd7b8b2..e3e6c3b5de62f1faea43863d3900d0a47b5f39c9 100755 (executable)
@@ -25,7 +25,7 @@ clean:
        dh_clean
 
 install: install-stamp
-install-stamp: build
+install-stamp: build-stamp
        dh_testdir
        dh_testroot
        dh_clean -k
index d0cce4663b493bd8d1ba115ba5bfd978b8b90cb4..bb2e00badcd6196b1f699fa7109f76f30de626dc 100755 (executable)
@@ -26,7 +26,7 @@ clean:
        dh_clean
 
 install: install-stamp
-install-stamp: build
+install-stamp: build-stamp
        dh_testdir
        dh_testroot
        dh_clean -k
index 32eeddfec6385c8adb0571bf24e03799d5943e85..42e4052aa5761c30ebcd819e808fb4ea041b9f8f 100755 (executable)
@@ -28,7 +28,7 @@ clean:
        dh_clean
 
 install: install-stamp
-install-stamp: build
+install-stamp: build-stamp
        dh_testdir
        dh_testroot
        dh_clean -k