Commit 3a420879 authored by Jordi Mallach's avatar Jordi Mallach
Browse files

Create html manpages when building nano.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 22 additions and 5 deletions
+22 -5
...@@ -31,7 +31,8 @@ CVS code - ...@@ -31,7 +31,8 @@ CVS code -
disabled if justification is disabled. (DLR) disabled if justification is disabled. (DLR)
- Make sure the "historylog" option isn't included at all if - Make sure the "historylog" option isn't included at all if
NANO_SMALL is defined. (DLR) 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). - Translation updates (see po/ChangeLog for details).
- Since SAMELINEWRAP is only used in nano.c, make it a static - Since SAMELINEWRAP is only used in nano.c, make it a static
variable in nano.c instead of a flag, and surround all variable in nano.c instead of a flag, and surround all
...@@ -60,6 +61,10 @@ CVS code - ...@@ -60,6 +61,10 @@ CVS code -
enabled, remove duplicate wrap_at prototype, and define enabled, remove duplicate wrap_at prototype, and define
DISABLE_MOUSE if NCURSES_MOUSE_VERSION isn't defined in nano.h DISABLE_MOUSE if NCURSES_MOUSE_VERSION isn't defined in nano.h
instead of all over the code. (DLR) 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: - files.c:
read_file() read_file()
- After we've read in a file and possibly converted it from - After we've read in a file and possibly converted it from
......
Makefile Makefile
Makefile.in Makefile.in
nanorc.5.html
nano.1.html
...@@ -2,4 +2,9 @@ SUBDIRS = fr ...@@ -2,4 +2,9 @@ SUBDIRS = fr
man_MANS = nano.1 nanorc.5 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 > $@
Makefile Makefile
Makefile.in Makefile.in
nanorc.5.html
nano.1.html
mandir = @mandir@/fr
man_MANS = nano.1 nanorc.5 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 > $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment