From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA88F15808B for ; Sat, 17 Feb 2024 05:16:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A72A0E2A21; Sat, 17 Feb 2024 05:16:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D31BE2A20 for ; Sat, 17 Feb 2024 05:16:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B342C33FE49 for ; Sat, 17 Feb 2024 05:16:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C59414CF for ; Sat, 17 Feb 2024 05:16:08 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1708146686.f4bf289499f7d06a2a4a5f6d84ce7084075e2664.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: f4bf289499f7d06a2a4a5f6d84ce7084075e2664 X-VCS-Branch: master Date: Sat, 17 Feb 2024 05:16:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b15be3de-c622-4c19-a747-d5141cf42d85 X-Archives-Hash: e9d5050a42f93e50d258f27fb60edeb8 commit: f4bf289499f7d06a2a4a5f6d84ce7084075e2664 Author: Timothy Kenno Handojo gmail com> AuthorDate: Thu Feb 15 10:00:47 2024 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat Feb 17 05:11:26 2024 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f4bf2894 ensure package version is on the manpage - added package version on manpage generation - added versioning on dist pkg generation - remove manpage generation from dist Signed-off-by: Robin H. Johnson gentoo.org> Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 989edd3..4b13597 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ #PACKAGE_VERSION = $(shell /bin/grep -F -- GK_V= genkernel | sed "s/.*GK_V='\([^']\+\)'/\1/") +PACKAGE_VERSION = $(file $(distdir)/VERSION git ls-files -z | xargs -0 cp --no-dereference --parents --target-directory="$(distdir)" \ $(EXTRA_DIST) tar cf "$(distdir)".tar "$(distdir)" @@ -124,7 +129,8 @@ distclean: clean $(BUILD_DIR)/%.8: doc/%.8.txt doc/asciidoc.conf Makefile $(BUILD_DIR)/doc/genkernel.8.txt a2x --conf-file=doc/asciidoc.conf \ - --format=manpage -D $(BUILD_DIR) "$(BUILD_DIR)/$<" + --format=manpage -D $(BUILD_DIR) --attribute="genkernelversion=$(PACKAGE_VERSION)" \ + "$(BUILD_DIR)/$<" verify-doc: doc/genkernel.8.txt @rm -f faildoc ; \