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:
Anton Midyukov 2024-03-04 12:36:06 +07:00
parent 7c6344c134
commit fd34b393e9
3 changed files with 3 additions and 10 deletions

View File

@ -1 +0,0 @@
1.6.0

View File

@ -34,7 +34,7 @@ DOCS_TMP = $(PROJECT).fo $(PROJECT).xml
.PHONY: all prep chunked xhtml pdf clean
all: man chunked xhtml pdf
all: chunked xhtml pdf
# NB: destination defined externally
publish: all
@ -45,12 +45,6 @@ publish: all
prep:
@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
@echo "** building $@ book"
@$(A2X) -f $@ $(HTML_ARGS)

View File

@ -17,7 +17,7 @@
.\" along with this program; if not, write to the Free Software
.\" 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"
mkimage-profiles \- ALT distribution family metaprofile
.SH "SYNOPSIS"
@ -109,7 +109,7 @@ Report bugs to https://bugzilla.altlinux.org
.br
(Sisyphus project, mkimage-profiles component).
.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
This is free software; see the source for copying conditions.
There is NO WARRANTY; not even for MERCHANTABILITY or