GNOME Bugzilla – Bug 719644
docs: make yelp usage conditional in manual
Last modified: 2014-01-05 22:09:45 UTC
I didn't have yelp installed on my system when I (after configuring) executed: make -C help make: Entering directory `help' make[1]: Entering directory `help' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `help' GEN .gitignore make[1]: Entering directory `help' make[2]: Entering directory `help/manual' Makefile:452: *** missing separator. Stop. make[2]: Leaving directory `help/manual' Skipping manual make[1]: Leaving directory `help' make: Leaving directory `help' Even worse, when I tried distclean at the top-level: make distclean Making distclean in help make[1]: Entering directory `help' Making distclean in manual make[2]: Entering directory `help/manual' Makefile:452: *** missing separator. Stop. make[2]: Leaving directory `help/manual' make[1]: *** [distclean-recursive] Error 1 make[1]: Leaving directory `help' make: *** [distclean-recursive] Error 1 The attached patch resolves this issue by making the yelp usage in help/manual/Makefile.am conditional on whether yelp is available or not.
Created attachment 263237 [details] [review] Proposed patch to make yelp usage conditional in manual
The following fix has been pushed: 5a06d25 docs: make yelp usage conditional in manual
Created attachment 263240 [details] [review] docs: make yelp usage conditional in manual The help/manual directory will be recursed into (so make dist can include everything) even if not in SUBDIRS in help/Makefile.am. Because of this help/manual/Makefile.am is always used to generate the help/manual/Makefile. And so if help/manual/Makefile.am includes unconditional yelp usage then help/manual/Makefile will also include yelp usage, even if yelp is not available. Fixes