summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-23 19:20:19 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-23 19:20:19 +0100
commit983a53a6435d1d126bfcfa83f6b46de5d0eac832 (patch)
tree1ba9bc6068c3826444a2cb5cff44dd074decfd2e
parent0535e724a274818f0ef7fab74d5a59a32fd78ac9 (diff)
'make clean' won't delete jq.1 if it can't be rebuilt.
See #131
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 34152056..5508e9a2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -119,5 +119,8 @@ dist-clean-local:
# Not sure why this doesn't get cleaned up automatically, guess
# automake used to man pages which are hand coded?
+if ENABLE_DOCS
+# 'make clean' doesn't delete the manpage if it can't be rebuilt
clean-local:
rm -f jq.1
+endif \ No newline at end of file