[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I get automake to create compressed man pages?
From: |
Daniel Leidert |
Subject: |
Re: How do I get automake to create compressed man pages? |
Date: |
Wed, 18 Apr 2007 17:51:47 +0200 |
Am Mittwoch, den 18.04.2007, 00:46 -0500 schrieb Paul Elliott:
> Excuse me if this is a faq but I can not easily find the asnwer.
>
> I have a Makefile.am that creates and installs a man page myprog.1
>
> It says
>
> man1_MANS = myprog.1
>
> The source is myprog.1. How do I make it create and install a compressed
> man page version myprog.1.gz?
What about:
man1_MANS = myprog.1.gz
%.1.gz : %.1
gzip $< -c > $@
?
Regards, Daniel