Skip to content

Commit

Permalink
Don't clean HTML manual if we didn't build it
Browse files Browse the repository at this point in the history
Clean the HTML manual upon 'maintainer-clean' rather than 'clean' in
case it was not built by Make but rather part of the distribution.
This is fine even then, as configure will properly require what is
needed to build it again if it is missing.
  • Loading branch information
b4n committed Aug 23, 2014
1 parent 74006b0 commit 32bda2e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/Makefile.am
Expand Up @@ -58,7 +58,11 @@ hacking.html: $(srcdir)/geany.css $(top_srcdir)/HACKING

all-local: geany.html hacking.html

clean-local: clean-html-local
# clean on 'maintainer-clean' rather than 'clean' in case it was not
# built by Make but rather part of the distribution. This is fine even
# then, as configure will properly require what is needed to build it
# again if it is missing.
maintainer-clean-local: clean-html-local
clean-html-local:
-rm -f hacking.html
-rm -f geany.html
Expand Down

0 comments on commit 32bda2e

Please sign in to comment.