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

Re: about gzip



On Thu, Jul 24, 2003 at 03:09:09PM +0300, Halil Demirezen wrote:
> I am using gzip in my debian/rules for zipping 
> manpage and then i use "cp my_package.1.gz /usr/share/man/man1"
                                             ^^^^^^^^
This should not be an absolute path but the temporary dir debian/..
 
> my first question: is it a true usage to put gzip into rules?

There are easier ways (dh_compress) and I'd use
gzip -9 < path/to/my_package.1 > \
	debian/mypackage/usr/share/man/man1/my_package.1

> and secondly, should i specify "gzip" as a Build-Depends?

No. gzip is Essential: yes.
         cu andreas



Reply to: