summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-01 15:12:28 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-01 15:12:28 -0800
commit1a83bf43b688dff5fa65afb751e7fdb65026e583 (patch)
tree7b227079e4c34ad56fde89166db115cbae6c8bfb /Makefile
parent1d51c7772996705fb69b2b3433cd94af3543583d (diff)
downloadsubsurface-1a83bf43b688dff5fa65afb751e7fdb65026e583.tar.gz
First try at converting user-manual to AsciiDoc
You can do "make doc" in the main directory to create the html version, and if you want to play around with it, do "make show" in the Documentation subdirectory to start firefox on the end result. It's by no means perfect, but it gives somewhat reasonable results, and this is enough initial work for people to play around with, I think. NOTE! You need "asciidoc" installed to do this: it's a python program, so it should be pretty easy even on non-Linux platforms. And on Linux, most distributions package it, so you just have to do something like yum install asciidoc to get it (replace with apt-get/zypper/whatever). Asciidoc can generate other output too (man-pages, LaTeX, etc), maybe people want to play with that part too. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ab933c5ce..c87513025 100644
--- a/Makefile
+++ b/Makefile
@@ -195,5 +195,8 @@ uemis.o: uemis.c dive.h uemis.h
$(OSSUPPORT).o: $(OSSUPPORT).c display-gtk.h
$(CC) $(CFLAGS) $(OSSUPPORT_CFLAGS) -c $(OSSUPPORT).c
+doc:
+ $(MAKE) -C Documentation doc
+
clean:
rm -f $(OBJS) *~ $(NAME)