summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-19 15:59:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-19 15:59:40 -0400
commit7bc4435ffdc1760a7ac8638cdc1cfac78aebaabb (patch)
treeaf591561fa5bf30c82e9fcbb3c83130edad5bcaf /Makefile
parent6ef1c2d2daf37dc92b4c364ea34802b62688018b (diff)
update
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