Re: Target path variables in debian/rules
- To: email@example.com
- Subject: Re: Target path variables in debian/rules
- From: "Barak A. Pearlmutter" <firstname.lastname@example.org>
- Date: Thu, 07 Jun 2012 10:22:17 +0100
- Message-id: <E1ScYv3-0002tp-MV@port-kdr.hamilton.local>
- Reply-to: "Barak A. Pearlmutter" <email@example.com>
- In-reply-to: <firstname.lastname@example.org>
> Why not reverse the two commands:
> /somepath/create-a-man-page > debian/packagename.1
> dh_installman --
> .... Let dh_installman install the generated manpage.
To my mind this violates modularity, in that *building* the man page
is happening during what is supposed to be just *installing* it.
I'd write either:
/somepath/create-a-man-page > debian/packagename.1
Or maybe just let "make" do its job and allow parallelism and be clear
about dependencies with
/somepath/create-a-man-page > $@
assuming the man page creation does not require some built executable.
Barak A. Pearlmutter
Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland