[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/22] build: enhance man pages cleaning and dependencies
From: |
Stefano Lattarini |
Subject: |
[PATCH 15/22] build: enhance man pages cleaning and dependencies |
Date: |
Sat, 1 Sep 2012 01:46:52 +0200 |
* man/local.mk: All of the manpages should depend on 'src/system.h',
and all of them should be cleaned by "make maintainer-clean", that
is, added to MAINTAINERCLEANFILES. Make it be so.
Some minor cosmetic tweakings and reorderings while at it.
---
man/local.mk | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/man/local.mk b/man/local.mk
index 99eb215..182020b 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -19,16 +19,15 @@
EXTRA_DIST += man/help2man
man1_MANS = @man1_MANS@
-
EXTRA_DIST += $(man1_MANS) $(man1_MANS:.1=.x)
-MAINTAINERCLEANFILES += $(man1_MANS)
EXTRA_MANS = @EXTRA_MANS@
-
EXTRA_DIST += $(EXTRA_MANS) $(EXTRA_MANS:.1=.x)
ALL_MANS = $(man1_MANS) $(EXTRA_MANS)
+MAINTAINERCLEANFILES += $(ALL_MANS)
+
# This is required because we have subtle inter-directory dependencies:
# in order to generate all man pages, even those for which we don't
# install a binary, require that all programs be built at distribution
@@ -150,7 +149,7 @@ man/yes.1: $(mandep) src/yes.c
# This is required so that changes to e.g., emit_bug_reporting_address
# provoke regeneration of all the manpages.
-$(man1_MANS): $(top_srcdir)/src/system.h
+$(ALL_MANS): $(top_srcdir)/src/system.h
.x.1:
$(AM_V_GEN)case '$(PERL)' in \
--
1.7.12
- [PATCH 06/22] maint: remove unused target 'install-root', (continued)
- [PATCH 06/22] maint: remove unused target 'install-root', Stefano Lattarini, 2012/08/31
- [PATCH 07/22] maint: fix and simplify maintainer checks, Stefano Lattarini, 2012/08/31
- [PATCH 09/22] maint: update gitignore entries, Stefano Lattarini, 2012/08/31
- [PATCH 08/22] maint: fix one stray reference to src/Makefile.am, Stefano Lattarini, 2012/08/31
- [PATCH 03/22] build: don't use recursive make to build the 'src' subdirectory, Stefano Lattarini, 2012/08/31
- [PATCH 10/22] build: simplify: get rid of some indirection variables, Stefano Lattarini, 2012/08/31
- [PATCH 12/22] build: one less unneeded make variable, Stefano Lattarini, 2012/08/31
- [PATCH 11/22] build: simplify and make more portable to non-GNU make, Stefano Lattarini, 2012/08/31
- [PATCH 13/22] build: rename dist_man1_MANS -> man1_MANS, Stefano Lattarini, 2012/08/31
- [PATCH 14/22] build: simplify: get rid of yet some more indirection variables, Stefano Lattarini, 2012/08/31
- [PATCH 15/22] build: enhance man pages cleaning and dependencies,
Stefano Lattarini <=
- [PATCH 16/22] build: $(mandeps): new, factors out man pages dependencies, Stefano Lattarini, 2012/08/31
- [PATCH 17/22] maint: simplify declaration of "libexec" programs, Stefano Lattarini, 2012/08/31
- [PATCH 18/22] maint: typofix in comments, Stefano Lattarini, 2012/08/31
- [PATCH 19/22] maint: fix quoting problem in configure.ac, Stefano Lattarini, 2012/08/31
- [PATCH 20/22] build: fix VPATH issues in C compilation, Stefano Lattarini, 2012/08/31
- [PATCH 22/22] maint: avoid distcheck failure by properly cleaning $(EXTRA_MANS), Stefano Lattarini, 2012/08/31
- [PATCH 21/22] maint: port manpages generation to VPATH builds, Stefano Lattarini, 2012/08/31