mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 14:40:37 +08:00
Fix to (really) no longer require Doxygen to build fish
This commit is contained in:
parent
4edfd6d9d6
commit
0fe43eb880
16
Makefile.in
16
Makefile.in
|
@ -331,7 +331,7 @@ prof:
|
||||||
|
|
||||||
user_doc: $(HDR_FILES_SRC) Doxyfile.user user_doc.head.html $(HELP_SRC)
|
user_doc: $(HDR_FILES_SRC) Doxyfile.user user_doc.head.html $(HELP_SRC)
|
||||||
$(MAKE) doc.h $(HDR_FILES)
|
$(MAKE) doc.h $(HDR_FILES)
|
||||||
doxygen Doxyfile.user ; true
|
- doxygen Doxyfile.user
|
||||||
touch user_doc
|
touch user_doc
|
||||||
|
|
||||||
|
|
||||||
|
@ -519,13 +519,15 @@ share/man: $(HELP_SRC)
|
||||||
cat $$i >>$$FILE; \
|
cat $$i >>$$FILE; \
|
||||||
echo "*/" >>$$FILE; \
|
echo "*/" >>$$FILE; \
|
||||||
done
|
done
|
||||||
doxygen Doxyfile.help
|
if command -v doxygen; then \
|
||||||
for i in $(HELP_SRC); do \
|
doxygen Doxyfile.help ; \
|
||||||
CMD_NAME=`basename $$i .txt`; \
|
for i in $(HELP_SRC); do \
|
||||||
sed -e "s/\(.\)\\.SH/\1/" -e "s/$$CMD_NAME *\\\\- *\"\(.*\)\"/\1/" <help_doc/man/man1/$$CMD_NAME.1 >share/man/$$CMD_NAME.1; \
|
CMD_NAME=`basename $$i .txt`; \
|
||||||
done
|
sed -e "s/\(.\)\\.SH/\1/" -e "s/$$CMD_NAME *\\\\- *\"\(.*\)\"/\1/" <help_doc/man/man1/$$CMD_NAME.1 >share/man/$$CMD_NAME.1; \
|
||||||
|
done \
|
||||||
|
fi
|
||||||
rm doc_src/*.doxygen # Clean up intermediate files in doc_src/
|
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
|
# The build rules for installing/uninstalling fish
|
||||||
|
|
Loading…
Reference in New Issue
Block a user