[PATCH 05/33] build system: man aliases don't depend on original man page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avoid rebuilding the man aliases over and over given that they do not
copy the content but only alias it.

Signed-off-by: Diego Elio 'Flameeyes' Pettenò <flameeyes@xxxxxxxxx>
---
 shlibs/uuid/man/Makefile.am |    2 +-
 sys-utils/Makefile.am       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/shlibs/uuid/man/Makefile.am b/shlibs/uuid/man/Makefile.am
index 4784f7c..3880952 100644
--- a/shlibs/uuid/man/Makefile.am
+++ b/shlibs/uuid/man/Makefile.am
@@ -8,5 +8,5 @@ UUID_GENERATE_LINKS = uuid_generate_random.3 uuid_generate_time.3
 man_MANS = $(UUID_GENERATE_LINKS)
 CLEANFILES = $(man_MANS)
 
-$(UUID_GENERATE_LINKS): uuid_generate.3
+$(UUID_GENERATE_LINKS):
 	$(AM_V_GEN)echo ".so man3/uuid_generate.3" > $@
diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am
index 9d6869c..166d718 100644
--- a/sys-utils/Makefile.am
+++ b/sys-utils/Makefile.am
@@ -88,7 +88,7 @@ SETARCH_MAN_LINKS = $(SETARCH_LINKS:=.8)
 man_MANS = $(RDEV_MAN_LINKS) $(SETARCH_MAN_LINKS)
 CLEANFILES = $(man_MANS)
 
-$(SETARCH_MAN_LINKS): setarch.8
+$(SETARCH_MAN_LINKS):
 	$(AM_V_GEN)echo ".so man8/setarch.8" > $@
 
 install-exec-hook:
-- 
1.7.1.1

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux