Browse files

[build] (from git) fail compiling man pages if HAVE_XML2MAN is not de…

…fined
  • Loading branch information...
1 parent 3acbda7 commit 26949472495f527f6cebb33cc31ce618720d04e7 @stewy stewy committed Apr 19, 2012
Showing with 8 additions and 2 deletions.
  1. +2 −1 ChangeLog
  2. +6 −1 doc/man/Makefile
View
3 ChangeLog
@@ -4,7 +4,8 @@ ChangeLog file of MaKL - http://www.koanlogic.com/makl/changelog.html
MaKL X.Y.Z
- mk: force MKINSTALLDIRS + chown before installing shlibs
- - build (from git): fix catch-all target for install
+ - build (from git): fix catch-all target for install; fail compiling man pages
+ if HAVE_XML2MAN is not defined
MaKL 1.9.0
- mk: bug in mkdep.gcc.sh helper that was causing a compilation error on
View
7 doc/man/Makefile
@@ -9,7 +9,12 @@ MANFILES = $(XML_SRCS:.xml=)
XML_SRCS = $(wildcard *.1.xml)
-%.1 : %.1.xml ; rm -f $@ && "$(PATH_XML2MAN)" $< $@
+%.1 : %.1.xml
+ifndef HAVE_XML2MAN
+ $(error xml2man required to build man pages!)
+else
+ rm -f $@ && "$(PATH_XML2MAN)" $< $@
+endif
install-hook-pre: $(MANFILES)

0 comments on commit 2694947

Please sign in to comment.