updated makefile for asciidoctor
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
parent
818dae6e86
commit
7814dcfd84
1 changed files with 6 additions and 5 deletions
11
Makefile
11
Makefile
|
@ -4,7 +4,8 @@ include src/src.mk
|
|||
|
||||
.PHONY: all build build-manual build-snippets build-manual-html build-manual-epub force clean
|
||||
|
||||
build: build-src build-manual
|
||||
#build: build-src build-manual
|
||||
build: build-manual
|
||||
|
||||
build-snippets:
|
||||
mkdir -p en-US/snippets
|
||||
|
@ -12,16 +13,16 @@ build-snippets:
|
|||
src/*.c src/*.cpp src/*.java src/*.py src/*.go src/*.sh
|
||||
|
||||
build-manual: build-snippets
|
||||
publican build --formats=html,epub,pdf --langs=en-US
|
||||
cd en-US && asciidoctor master.adoc
|
||||
|
||||
build-manual-html: build-snippets
|
||||
publican build --formats=html --langs=en-US
|
||||
cd en-US && asciidoctor master.adoc
|
||||
|
||||
build-manual-epub: build-snippets
|
||||
publican build --formats=epub --langs=en-US
|
||||
false
|
||||
|
||||
build-manual-pdf: build-snippets
|
||||
publican build --formats=pdf --langs=en-US
|
||||
false
|
||||
|
||||
clean: clean-src
|
||||
-rm -rf tmp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue