Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pax-utils:master commit in: /
Date: Thu, 17 Dec 2015 03:24:53
Message-Id: 1450312080.146fe9fb4ece2294e9233947aea1826f585dc3c9.vapier@gentoo
1 commit: 146fe9fb4ece2294e9233947aea1826f585dc3c9
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 17 00:28:00 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 17 00:28:00 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=146fe9fb
7
8 build: defer man page expansion
9
10 The $(wildcard) inside the rule is expanded before the `make man` step,
11 so if the man pages don't already exist, we don't get the latest list.
12 Defer the expansion to the shell step so it's always up-to-date.
13
14 Makefile | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/Makefile b/Makefile
18 index b3782a6..6375315 100644
19 --- a/Makefile
20 +++ b/Makefile
21 @@ -168,7 +168,7 @@ autotools-update:
22 ( \
23 echo "$(GEN_MARK_START)"; \
24 printf 'dist_man_MANS +='; \
25 - printf ' \\\n\t%s' $(wildcard man/*.1); \
26 + printf ' \\\n\t%s' `printf '%s\n' man/*.1 | LC_ALL=C sort`; \
27 echo; \
28 printf 'EXTRA_DIST +='; \
29 printf ' \\\n\t%s' $(EXTRA_DIST); \