[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

CDBS question



I have several patches for a package called varlkyrie. Some of these
patches change configure.in and Makefile.am. I.e. I need to run
autoreconf after applying patches. Following CDBS documentation, I've
added these lines to debian/rules
makebuilddir/valkyrie::
    cat m4/* > acinclude.m4
    autoreconf

But the problem is that this got executed _before_ patches get
applied. Here is the log:
 debian/rules build
test -x debian/rules
cat m4/* > acinclude.m4
autoreconf
valkyrie/Makefile.am:18: `%'-style pattern rules are a GNU make extension
valkyrie/Makefile.am:146: `:='-style assignments are not portable
vk_logmerge/Makefile.am:19: `%'-style pattern rules are a GNU make extension
vk_logmerge/Makefile.am:45: `:='-style assignments are not portable
mkdir -p "."
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory
`/build/user-valkyrie_1.4.0-1-amd64-cdE7Mo/valkyrie-1.4.0'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory
`/build/user-valkyrie_1.4.0-1-amd64-cdE7Mo/valkyrie-1.4.0'
if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f
debian/stamp-patched; fi
patches: debian/patches/valkyrie-1.3.0-docdir-fix-1.patch
debian/patches/valkyrie-1.3.0-honour-system-style-1.patch
debian/patches/valkyrie-1.3.0-kate-use-1.patch
Trying patch debian/patches/valkyrie-1.3.0-docdir-fix-1.patch at level
1 ... success.
Trying patch debian/patches/valkyrie-1.3.0-honour-system-style-1.patch
at level 1 ... success.
Trying patch debian/patches/valkyrie-1.3.0-kate-use-1.patch at level 1
... 0 ... success.

How can I make it to run after patching?

Thanks,
-- 
Zaar


Reply to: