Fix to (really) no longer require Doxygen to build fish

This commit is contained in:
ridiculousfish 2012-05-29 20:50:27 -07:00
parent 4edfd6d9d6
commit 0fe43eb880

View File

@ -331,7 +331,7 @@ prof:
user_doc: $(HDR_FILES_SRC) Doxyfile.user user_doc.head.html $(HELP_SRC)
$(MAKE) doc.h $(HDR_FILES)
doxygen Doxyfile.user ; true
- doxygen Doxyfile.user
touch user_doc
@ -519,13 +519,15 @@ share/man: $(HELP_SRC)
cat $$i >>$$FILE; \
echo "*/" >>$$FILE; \
done
doxygen Doxyfile.help
if command -v doxygen; then \
doxygen Doxyfile.help ; \
for i in $(HELP_SRC); do \
CMD_NAME=`basename $$i .txt`; \
sed -e "s/\(.\)\\.SH/\1/" -e "s/$$CMD_NAME *\\\\- *\"\(.*\)\"/\1/" <help_doc/man/man1/$$CMD_NAME.1 >share/man/$$CMD_NAME.1; \
done
done \
fi
rm doc_src/*.doxygen # Clean up intermediate files in doc_src/
rm -r help_doc # Clean up intermediate help_doc tree
rm -rf help_doc # Clean up intermediate help_doc tree
#
# The build rules for installing/uninstalling fish