2003-09-19 Jan Nieuwenhuizen <janneke@gnu.org>
+ * stepmake/stepmake/help2man-rules.make: Allow manpages to fail
+ when cross building.
+
+ * stepmake/stepmake/help2man-rules.make:
+
+ * configure.in: srcdir build fix.
+
* cygwin/GNUmakefile:
* cygwin/lily-wins.py:
* cygwin/postremove-lilypond.sh:
HELP2MAN_COMMAND = $(PERL) $(builddir)/buildscripts/$(outbase)/help2man $< > $@
+ifeq ($(cross),))
$(outdir)/%.1: $(outdir)/%
$(HELP2MAN_COMMAND)
+else
+# When cross building, some manpages will not build because the executable
+# does not run. We don not want to disable building manpages, because
+# the cross build process may generate them using a native executable.
+$(outdir)/%.1: $(outdir)/%
+ $(HELP2MAN_COMMAND) || \
+ (echo ""; echo "Apparently the man pages failed to build. This is";\
+ echo "no problem, since they don't contain any information anyway.";\
+ echo "Please run make again, and be prepared for NO manual pages.")
+endif