scummvm random work
[patches.git] / shadow-user-friendly-man-error.patch
CommitLineData
5e993f12 1Index: man/Makefile.am
2===================================================================
3RCS file: /cvsroot/shadow/man/Makefile.am,v
4retrieving revision 1.62
5diff -u -p -r1.62 Makefile.am
6--- man/Makefile.am 5 Jun 2006 02:57:27 -0000 1.62
7+++ man/Makefile.am 10 Jun 2006 21:32:35 -0000
8@@ -240,6 +240,15 @@ vigr.8 vipw.8: vipw.8.xml
9
10 CLEANFILES = $(man_MANS)
11
12+else
13+
14+$(man_MANS):
15+ @echo ""
16+ @echo "Error: you need to run configure with '--enable-man'"
17+ @echo " in order to regenerate man pages."
18+ @echo ""
19+ @false
20+
21 endif
22
23 POFILES = $(foreach lang, $(LINGUAS), $(lang)/$(lang).po)