summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a0911df04..f18f076da 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,6 @@ install:
install -d $(DESTDIR)/usr/bin
install git-annex $(DESTDIR)/usr/bin
-clean:
- rm -rf build git-annex
- rm -rf doc/.ikiwiki html
-
# If ikiwiki is available, build static html docs suitable for being
# shipped in the software package.
ifeq ($(shell which ikiwiki),)
@@ -21,7 +17,12 @@ IKIWIKI=ikiwiki
endif
docs:
+ ./mdwn2man git-annex 1 doc/git-annex.mdwn > git-annex.1
$(IKIWIKI) doc html -v --wikiname git-annex --plugin=goodstuff \
--no-usedirs
+clean:
+ rm -rf build git-annex git-annex.1
+ rm -rf doc/.ikiwiki html
+
.PHONY: git-annex