diff options
author | David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au> | 2013-09-02 13:05:55 +0800 |
---|---|---|
committer | David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au> | 2013-09-02 13:07:31 +0800 |
commit | 16ba544edd188ed43c93214a908efc9862bc8bab (patch) | |
tree | 29088d3336bf2af23b7f912f7f183a2a3168544d /Makefile.in | |
parent | f230da12c564e74036ebbdb3a067b5e5c23e39af (diff) |
docs: don't remove/rebuild share/man if we don't have doxygen
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 3c0eeffe..7b243ee7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -269,15 +269,17 @@ TRANSLATIONS := $(TRANSLATIONS_SRC:.po=.gmo) ifeq ($(HAVE_DOXYGEN), 1) user_doc=user_doc + share_man=share/man else user_doc= + share_man= endif # # Make everything needed for installing fish # -all: $(PROGRAMS) $(user_doc) share/man $(TRANSLATIONS) +all: $(PROGRAMS) $(user_doc) $(share_man) $(TRANSLATIONS) @echo fish has now been built. @echo Use \'$(MAKE) install\' to install fish. .PHONY: all @@ -828,7 +830,7 @@ clean: rm -f command_list.txt toc.txt rm -f doc_src/index.hdr doc_src/commands.hdr rm -f FISH-BUILD-VERSION-FILE - if test $(HAVE_DOXYGEN) = 1; then \ + if test "$(HAVE_DOXYGEN)" = 1; then \ rm -rf doc user_doc share/man; \ fi rm -f $(TRANSLATIONS) |