Package: dh-autoreconf
Version: 6
Severity: wishlist

I'm working on a package that has all the sources in a subdirectory, so
I'm using the --sourcedirectory option recognised by the dh_auto_* tools
to make them play nice, and put their files in the current directory,
but otherwise work in the specified dir.

I ran into a problem with dh-autoreconf, however, because I needed to
run an autogen.sh script within the source tree, but dh-autoreconf does
not respect the --sourecirectory option, sadly. I ended up with
something like:

 dh_autoreconf -- sh -c 'cd upstream && ./autogen.sh'

But that's very ugly, in my opinion, and I'd rather write:

 dh_autoreconf -Dupstream -- ./autogen.sh

I could, of course, create a debian/autogen.sh that cds to the
appropriate place too, and call that, but that also sounds wrong to me.

Furthermore, I have all of the common debhelper options (including
-Dupstream) exported via DH_OPTIONS, so I don't repeat them all over the
place. It would be very nice if dh-autoreconf would support that too (I
haven't checked whether that's possible, it might not be).

For reference, the package in question is my unofficial syslog-ng
packaging, available on github[1], if you'd like to know why I'd like to
shovel everything in DH_OPTIONS.

 [1]: https://github.com/algernon/syslog-ng/tree/packaging/debian/3.3

-- 
|8]




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to