Create html manpages when building nano.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Jordi Mallach 2003-10-19 23:30:48 +00:00
parent c1f630e914
commit 3a420879d6
5 changed files with 22 additions and 5 deletions

View File

@ -31,7 +31,8 @@ CVS code -
disabled if justification is disabled. (DLR)
- Make sure the "historylog" option isn't included at all if
NANO_SMALL is defined. (DLR)
- Source reorganization: move code to src/, docs to doc/. (Jordi)
- Source reorganization: move code to src/, docs to doc/.
(Jordi)
- Translation updates (see po/ChangeLog for details).
- Since SAMELINEWRAP is only used in nano.c, make it a static
variable in nano.c instead of a flag, and surround all
@ -60,6 +61,10 @@ CVS code -
enabled, remove duplicate wrap_at prototype, and define
DISABLE_MOUSE if NCURSES_MOUSE_VERSION isn't defined in nano.h
instead of all over the code. (DLR)
- Autogenerate the html versions of the manpages in the
Makefile.am's in doc/man/, make sure that they're properly
installed via "make dist", and make sure that "make distcheck"
works too. (Jordi, DLR and Jeff Bailey)
- files.c:
read_file()
- After we've read in a file and possibly converted it from

View File

@ -1,2 +1,4 @@
Makefile
Makefile.in
nanorc.5.html
nano.1.html

View File

@ -2,4 +2,9 @@ SUBDIRS = fr
man_MANS = nano.1 nanorc.5
EXTRA_DIST = nano.1.html nanorc.5.html $(man_MANS)
BUILT_SOURCES = nano.1.html nanorc.5.html
nano.1.html: nano.1
cat $< | groff -t -mandoc -Thtml > $@
nanorc.5.html: nanorc.5
cat $< | groff -t -mandoc -Thtml > $@

View File

@ -1,2 +1,4 @@
Makefile
Makefile.in
nanorc.5.html
nano.1.html

View File

@ -1,5 +1,8 @@
mandir = @mandir@/fr
man_MANS = nano.1 nanorc.5
EXTRA_DIST = $(man_MANS)
BUILT_SOURCES = nano.1.html nanorc.5.html
nano.1.html: nano.1
cat $< | groff -t -mandoc -Thtml > $@
nanorc.5.html: nanorc.5
cat $< | groff -t -mandoc -Thtml > $@