diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-11-01 15:32:43 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-12-03 09:50:31 +0200 |
commit | 16ce2d4ea47f48b25c83ef6c8df81b01a986326c (patch) | |
tree | 641d17da8121cf416376953bd96b7fb24f763127 /docs/design/Makefile.am | |
parent | 1c50dcd54fb1cd07988b5d928bea9840f80a603c (diff) |
design-docs: add html output using asciidoc
Unify the ad-hoc markup to be asciidoc style in many places. Add a "html" target
to Makefile to generate the output.
Diffstat (limited to 'docs/design/Makefile.am')
-rw-r--r-- | docs/design/Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/design/Makefile.am b/docs/design/Makefile.am index 1b8b4fba2b..1433ee17f7 100644 --- a/docs/design/Makefile.am +++ b/docs/design/Makefile.am @@ -47,6 +47,22 @@ EXTRA_DIST = \ part-TODO.txt \ part-trickmodes.txt +CLEANFILES = index.html index.txt + +html: + if ! test -z `which asciidoc`; then \ + echo >index.txt "GStreamer design"; \ + echo >>index.txt "================"; \ + echo >>index.txt "The Gstreamer developers"; \ + echo >>index.txt "Version $(PACKAGE_VERSION)"; \ + echo >>index.txt ""; \ + ( cd $(srcdir) && \ + cat >>$(abs_builddir)/index.txt $(EXTRA_DIST) ); \ + asciidoc -o index.html index.txt; \ + else \ + echo "need asciidoc to generate html"; \ + fi; + upload: @echo nothing to upload |