Re: Target path variables in debian/rules
- To: firstname.lastname@example.org
- Subject: Re: Target path variables in debian/rules
- From: "Barak A. Pearlmutter" <email@example.com>
- Date: Thu, 07 Jun 2012 10:22:17 +0100
- Message-id: <E1ScYv3-0002tp-MV@port-kdr.hamilton.local>
- Reply-to: "Barak A. Pearlmutter" <firstname.lastname@example.org>
- In-reply-to: <email@example.com>
> 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