diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-09 19:41:51 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-09 19:41:51 -0700 |
commit | 69ace201f8532d1062f90edf97c6e8fb4620095e (patch) | |
tree | eb832482182b1a0b227c2ab739fa81b6f31eccf9 /Makefile.in | |
parent | a04f31c5c04cc6768b31bc2867dcb753ba393bc8 (diff) |
Release tarballs with the user docs already build, removing the doxygen dependency
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index d76ad119..1c323cf2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -862,6 +862,10 @@ distclean: clean # are created by the configure script. # +# Don't delete the docs unless we have Doxygen installed +# We provide pre-built docs in the tarball, and if they get +# deleted we won't be able to regenerate them + clean: rm -f *.o doc.h doc.tmp doc_src/*.doxygen doc_src/*.cpp doc_src/*.o doc_src/commands.hdr rm -f $(GENERATED_INTERN_SCRIPT_FILES) @@ -872,7 +876,9 @@ clean: rm -f fish-@PACKAGE_VERSION@.tar rm -f fish-@PACKAGE_VERSION@.tar.gz rm -f fish-@PACKAGE_VERSION@.tar.bz2 - rm -rf doc user_doc share/man; + if command -v doxygen; then \ + rm -rf doc user_doc share/man; \ + fi rm -rf fish-@PACKAGE_VERSION@ rm -f $(TRANSLATIONS) test ! -d "$(XSEL)" || make -C $(XSEL) clean |