Package: dpatch
Version: 2.0.20
Severity: normal

Hi,

the example given in the manpage of dpatch say:
After dpatchifying, this would look like this:

              config.status: patch configure
                   ./configure --prefix=/usr --mandir=/usr/share
              build: config.status
                   ${MAKE}
              clean: clean-patched unpatch
              clean-patched:
                   $(testdir)
                   $(testroot)
                   ${MAKE} distclean
                   rm -rf debian/imaginary-package debian/files debian/substvars

              patch: patch-stamp
              patch-stamp:
                   dpatch apply-all
!                   dpatch call-all -a=pkg-info >patch-stamp

              unpatch:
                   dpatch deapply-all
                   rm -rf patch-stamp debian/patched

but the line ! seems wrong to mee. When I try I get the following:
dpkg-source: building harminv in harminv_1.3.1-1.dsc
 debian/rules build
dpatch apply-all
applying patch 01_minussign-manpage to ./ ... ok.
dpatch call-all -a=pkg-info >patch-stamp
01_minussign-manpage.dpatch: script expects -patch|-unpatch as argument
make: *** [patch-stamp] Erreur 1

call-all want an argument and I guess it would conflict anyway with aplly-all
allready called. Reading /usr/share/dpatch/dpatch.make form dpatch.make,
I think the line "!" should be replaced with dpatch cat-all > patch-stamp
or something like that. At least, this change worked for me.

Best regards.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

dpatch depends on no packages.

Versions of packages dpatch recommends:
ii  dpkg-dev                      1.13.22    package building tools for Debian
ii  fakeroot                      1.5.10     Gives a fake root environment
pn  patchutils                    <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to