make: split out man page files into doc/man folder
This commit is contained in:
parent
2088244564
commit
626aecb472
8
Makefile
8
Makefile
|
@ -9,7 +9,7 @@ BINPROGS = $(addprefix $(BUILDDIR)/,$(patsubst src/%,bin/%,$(patsubst %.in,%,$(w
|
|||
MAKEPKG_CONFIGS=$(wildcard config/makepkg/*)
|
||||
PACMAN_CONFIGS=$(wildcard config/pacman/*)
|
||||
SETARCH_ALIASES = $(wildcard config/setarch-aliases.d/*)
|
||||
MANS = $(addprefix $(BUILDDIR)/,$(patsubst %.asciidoc,%,$(filter-out doc/footer.asciidoc,$(wildcard doc/*.asciidoc))))
|
||||
MANS = $(addprefix $(BUILDDIR)/,$(patsubst %.asciidoc,%,$(wildcard doc/man/*.asciidoc)))
|
||||
|
||||
COMMITPKG_LINKS = \
|
||||
extrapkg \
|
||||
|
@ -83,10 +83,10 @@ endef
|
|||
$(eval $(call buildInScript,build/bin,src/,555))
|
||||
$(foreach completion,$(wildcard contrib/completion/*),$(eval $(call buildInScript,build/$(completion),$(completion)/,444)))
|
||||
|
||||
$(BUILDDIR)/doc/%: doc/%.asciidoc doc/asciidoc.conf doc/footer.asciidoc
|
||||
$(BUILDDIR)/doc/man/%: doc/man/%.asciidoc doc/asciidoc.conf doc/man/include/footer.asciidoc
|
||||
$(GEN_MSG)
|
||||
@mkdir -p $(BUILDDIR)/doc
|
||||
@a2x --no-xmllint --asciidoc-opts="-f doc/asciidoc.conf" -d manpage -f manpage --destination-dir=$(BUILDDIR)/doc -a pkgdatadir=$(PREFIX)/share/devtools $<
|
||||
@mkdir -p $(BUILDDIR)/doc/man
|
||||
@a2x --no-xmllint --asciidoc-opts="-f doc/asciidoc.conf" -d manpage -f manpage --destination-dir=$(BUILDDIR)/doc/man -a pkgdatadir=$(PREFIX)/share/devtools $<
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILDDIR)
|
||||
|
|
|
@ -37,4 +37,4 @@ Options
|
|||
*-h*::
|
||||
Show this usage message
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -44,4 +44,4 @@ See Also
|
|||
|
||||
linkman:devtools[7]
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -40,4 +40,4 @@ See Also
|
|||
|
||||
linkman:find-libprovides[1]
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -52,4 +52,4 @@ linkman:offload-build[1]
|
|||
linkman:sogrep[1]
|
||||
Find packages using a linked to a given shared library
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -54,4 +54,4 @@ Modes
|
|||
See Also
|
||||
--------
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -22,4 +22,4 @@ Options
|
|||
*-h, --help*::
|
||||
Show a help text.
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -21,4 +21,4 @@ Options
|
|||
Ignore internal libraries.
|
||||
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -21,4 +21,4 @@ Options
|
|||
*--ignore-internal*::
|
||||
Ignore internal libraries.
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -22,4 +22,4 @@ See Also
|
|||
|
||||
linkman:ldd[1]
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -73,4 +73,4 @@ Options
|
|||
*-U*::
|
||||
Run makepkg as a specified user
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -56,4 +56,4 @@ Options
|
|||
*-h*::
|
||||
Show this usage message
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -46,4 +46,4 @@ See Also
|
|||
|
||||
linkman:pacman[1]
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -49,4 +49,4 @@ Example: To use a second `testing-x86_64-build` instance with another copydir:
|
|||
|
||||
`offload-build -r testing -- -- -l <chroot_copy>`
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
|
@ -45,4 +45,4 @@ Environment Variables
|
|||
directory set by the **XDG_CACHE_HOME** environment variable or the
|
||||
**HOME** environment variable if **XDG_CACHE_HOME** is not set.
|
||||
|
||||
include::footer.asciidoc[]
|
||||
include::include/footer.asciidoc[]
|
Loading…
Reference in New Issue