Add stub Makefiles to allow subdir make calls

This commit is contained in:
Quentin Glidic
2012-06-17 14:37:07 +02:00
parent 66adb62e1f
commit e452acb30e
9 changed files with 58 additions and 233 deletions

View File

@ -1,36 +1,7 @@
# To pass additional parameters for asciidoc
ASCIIDOC=asciidoc
ASCIIDOC_TARGETS:=hacking-howto.html debugging.html debugging-release-version.html userguide.html ipc.html multi-monitor.html wsbar.html testsuite.html i3bar-protocol.html
all: ${ASCIIDOC_TARGETS}
hacking-howto.html: hacking-howto
$(ASCIIDOC) -a toc -n $<
i3bar-protocol.html: i3bar-protocol
$(ASCIIDOC) -a toc -n $<
debugging.html: debugging
$(ASCIIDOC) -n $<
debugging-release-version.html: debugging-release-version
$(ASCIIDOC) -n $<
userguide.html: userguide
$(ASCIIDOC) -a toc -n $<
testsuite.html: testsuite
$(ASCIIDOC) -a toc -n $<
ipc.html: ipc
$(ASCIIDOC) -a toc -n $<
multi-monitor.html: multi-monitor
$(ASCIIDOC) -a toc -n $<
wsbar.html: wsbar
$(ASCIIDOC) -a toc -n $<
all:
$(MAKE) -C .. docs
clean:
rm -f ${ASCIIDOC_TARGETS}
$(MAKE) -C .. clean-docs
.PHONY: all clean