doc: don't build man, cleanup VERSION
The first release after add VERSION file showed that I forgot to update VERSION. Therefore, should discard this file. VERSION only used in man file.
This commit is contained in:
parent
7c6344c134
commit
fd34b393e9
@ -34,7 +34,7 @@ DOCS_TMP = $(PROJECT).fo $(PROJECT).xml
|
|||||||
|
|
||||||
.PHONY: all prep chunked xhtml pdf clean
|
.PHONY: all prep chunked xhtml pdf clean
|
||||||
|
|
||||||
all: man chunked xhtml pdf
|
all: chunked xhtml pdf
|
||||||
|
|
||||||
# NB: destination defined externally
|
# NB: destination defined externally
|
||||||
publish: all
|
publish: all
|
||||||
@ -45,12 +45,6 @@ publish: all
|
|||||||
prep:
|
prep:
|
||||||
@if [ -n "$(BUILDDIR)" ]; then mkdir -p "$(BUILDDIR)"; fi
|
@if [ -n "$(BUILDDIR)" ]; then mkdir -p "$(BUILDDIR)"; fi
|
||||||
|
|
||||||
man:
|
|
||||||
@VERSION="$$(cat ../VERSION)"; \
|
|
||||||
sed -e "s,@VERSION@,$$VERSION,g" \
|
|
||||||
< mkimage-profiles.7.in \
|
|
||||||
> mkimage-profiles.7
|
|
||||||
|
|
||||||
chunked xhtml: prep
|
chunked xhtml: prep
|
||||||
@echo "** building $@ book"
|
@echo "** building $@ book"
|
||||||
@$(A2X) -f $@ $(HTML_ARGS)
|
@$(A2X) -f $@ $(HTML_ARGS)
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
.\" along with this program; if not, write to the Free Software
|
.\" along with this program; if not, write to the Free Software
|
||||||
.\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
.\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
.\"
|
.\"
|
||||||
.TH "MKIMAGE-PROFILES" "mkimage-profiles @VERSION@" "ALT"
|
.TH "MKIMAGE-PROFILES" "mkimage-profiles" "ALT"
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
mkimage-profiles \- ALT distribution family metaprofile
|
mkimage-profiles \- ALT distribution family metaprofile
|
||||||
.SH "SYNOPSIS"
|
.SH "SYNOPSIS"
|
||||||
@ -109,7 +109,7 @@ Report bugs to https://bugzilla.altlinux.org
|
|||||||
.br
|
.br
|
||||||
(Sisyphus project, mkimage-profiles component).
|
(Sisyphus project, mkimage-profiles component).
|
||||||
.SH "COPYRIGHT"
|
.SH "COPYRIGHT"
|
||||||
Copyright \(co) 2010-2020 Michael Shigorin <mike@altlinux.org>, 2020-2021 Anton Midyukov <antohami@altlinux.org>
|
Copyright \(co) 2010-2020 Michael Shigorin <mike@altlinux.org>, 2020-2024 Anton Midyukov <antohami@altlinux.org>
|
||||||
.br
|
.br
|
||||||
This is free software; see the source for copying conditions.
|
This is free software; see the source for copying conditions.
|
||||||
There is NO WARRANTY; not even for MERCHANTABILITY or
|
There is NO WARRANTY; not even for MERCHANTABILITY or
|
Loading…
x
Reference in New Issue
Block a user