[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH 2/3] simplify man rules
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [PATCH 2/3] simplify man rules |
Date: |
Wed, 02 Apr 2014 10:56:34 +0200 |
On Sat, Mar 29, 2014, at 7:26, Mike Frysinger wrote:
> diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
> index a04710c..d360e10 100644
> --- a/doc/man/Makefile.am
> +++ b/doc/man/Makefile.am
In this file it currently says:
if GROFF_HTML
dist_html_DATA = nano.1.html nanorc.5.html rnano.1.html
nano.1.html: nano.1
groff -t -mandoc -Thtml < $? > $@
nanorc.5.html: nanorc.5
groff -t -mandoc -Thtml < $? > $@
rnano.1.html: rnano.1
groff -t -mandoc -Thtml < $? > $@
endif
But should this not be instead:
if GROFF_HTML
dist_html_DATA = nano.1.html rnano.1.html
nano.1.html: nano.1
groff -t -mandoc -Thtml < $? > $@
rnano.1.html: rnano.1
groff -t -mandoc -Thtml < $? > $@
if USE_NANORC
dist_html_DATA += nanorc.5.html
nanorc.5.html: nanorc.5
groff -t -mandoc -Thtml < $? > $@
endif
endif
?
Benno
--
http://www.fastmail.fm - Access your email from home and the web
- Re: [Nano-devel] [PATCH 2/3] simplify man rules,
Benno Schulenberg <=