[arch-projects] [PATCH 3/3] Makefile: the Makefile itself is a dep for the manpage

Dave Reisner dreisner at archlinux.org
Sat Jun 25 17:04:53 EDT 2011


From: Dave Reisner <d at falconindy.com>

This will force the doc to be regenerated if there is a version bump in
the Makefile.

Signed-off-by: Dave Reisner <d at falconindy.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index b77e088..0c86ac0 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ install: all
 	install -m644 mkinitcpio.5 ${DESTDIR}/usr/share/man/man5/mkinitcpio.5
 
 doc: mkinitcpio.5
-mkinitcpio.5: mkinitcpio.5.txt
+mkinitcpio.5: mkinitcpio.5.txt Makefile
 	a2x -d manpage \
 		-f manpage \
 		-a mansource=mkinitcpio \
-- 
1.7.5.4



More information about the arch-projects mailing list