Files
nano-linefolding/doc/man/Makefile.am
T
Benno Schulenberg 0e39d7fe4a Using 'dist_' prefixes and '+=' appending to produce
simpler Automake files.  Patch by Mike Frysinger.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4694 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-03-30 20:14:36 +00:00

32 lines
530 B
Makefile

SUBDIRS =
if USE_NLS
SUBDIRS += fr
endif
BUILT_SOURCES =
dist_man_MANS = nano.1 rnano.1
if GROFF_HTML
BUILT_SOURCES += nano.1.html rnano.1.html
endif
if USE_NANORC
dist_man_MANS += nanorc.5
if GROFF_HTML
BUILT_SOURCES += nanorc.5.html
endif
endif
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
EXTRA_DIST = $(BUILT_SOURCES)