mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
netlist: add man target to netlist makefile.
This commit is contained in:
parent
738e9cc136
commit
2c799e1160
2
src/lib/netlist/.gitignore
vendored
2
src/lib/netlist/.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
build/html/*
|
||||
build/man/*
|
||||
build/doxy/*
|
||||
build/obj/*
|
||||
buildVS/Release/*
|
||||
|
@ -844,7 +844,7 @@ EXCLUDE_SYMBOLS =
|
||||
# that contain example code fragments that are included (see the \include
|
||||
# command).
|
||||
|
||||
EXAMPLE_PATH = ../documentation ../examples
|
||||
EXAMPLE_PATH = ../documentation ../examples ./html
|
||||
|
||||
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
|
||||
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
|
||||
|
@ -251,7 +251,7 @@ MAKEFILE_TARGETS_WITHOUT_INCLUDE := gcc9 clang clang-5 mingw doc native maketree
|
||||
# PHONY
|
||||
#-------------------------------------------------
|
||||
|
||||
.PHONY: all gcc9 clang clang-5 mingw doc native maketree $(DEPEND) depend runtests
|
||||
.PHONY: all gcc9 clang clang-5 mingw doc man native maketree $(DEPEND) depend runtests
|
||||
|
||||
#-------------------------------------------------
|
||||
# all
|
||||
@ -361,8 +361,13 @@ mingw:
|
||||
# LDEXTRAFLAGS = -municode
|
||||
#
|
||||
|
||||
man: nltool$(EXESUFFIX) nlwav$(EXESUFFIX)
|
||||
@mkdir -p man
|
||||
@mkdir -p html
|
||||
help2man --include=nltool.help2man --no-info ./nltool$(EXESUFFIX) > man/nltool.1
|
||||
groff -mandoc -Thtml man/nltool.1 > html/nltool.html
|
||||
|
||||
doc: nltool$(EXESUFFIX)
|
||||
doc: nltool$(EXESUFFIX) nlwav$(EXESUFFIX)
|
||||
./nltool$(EXESUFFIX) -c docheader > ../documentation/devsyn.dox.h
|
||||
$(DOXYGEN) doxygen.conf
|
||||
|
||||
|
5
src/lib/netlist/build/nltool.help2man
Normal file
5
src/lib/netlist/build/nltool.help2man
Normal file
@ -0,0 +1,5 @@
|
||||
[see also]
|
||||
More documentation for the
|
||||
.B nltool
|
||||
program is available in doxygen format.
|
||||
|
Loading…
Reference in New Issue
Block a user