gstreamer/Makefile
Mathieu Duponchelle 20e9f95622 Implement our own theme, yay!
Please update your hotdoc, and read the (updated) README, you
should end up with something looking exactly like:

https://gstreamer.freedesktop.org/documentation2/
2016-10-16 01:53:38 +02:00

44 lines
804 B
Makefile

all:
install:
clean:
HOTDOC ?= hotdoc
prefix ?= /usr
datadir ?= ${prefix}/share
devhelpdir ?= ${datadir}/devhelp/books
docdir ?= ${datadir}/doc/${PACKAGE}
htmldir ?= ${docdir}
# emulate Automake well enough for hotdoc.mk
AM_V_GEN ?=
AMTAR ?= tar
mkinstalldirs ?= install -d
srcdir = $(CURDIR)
top_srcdir = $(CURDIR)
builddir = $(CURDIR)
top_builddir = $(CURDIR)
HOTDOC_PROJECTS = gst-docs
gst_docs_HOTDOC_FLAGS = \
--conf-file hotdoc.json \
$(NULL)
theme.stamp: less/variables.less
+make -C hotdoc_bootstrap_theme LESS_INCLUDE_PATH=$$PWD/less
@rm -rf hotdoc-private*
@touch theme.stamp
clean_theme:
rm -f theme.stamp
+make -C hotdoc_bootstrap_theme clean
clean: clean_theme
gst_docs_HOTDOC_EXTRA_DEPS = theme.stamp
.PHONY: all install clean
-include $(shell $(HOTDOC) --makefile-path)