Skip to content

Commit

Permalink
Import from AWA
Browse files Browse the repository at this point in the history
  • Loading branch information
stcarrez committed Feb 14, 2021
1 parent f2791bb commit 52dcfd3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Makefile.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,29 @@ clean::

endef

define pandoc_build

ifeq (${HAVE_PANDOC},yes)

doc:: docs/$(1).pdf docs/$(1).html
ifeq (${HAVE_DYNAMO},yes)
$(DYNAMO) build-doc -markdown wiki
endif

docs/$(1).pdf: force
ifeq (${HAVE_DYNAMO},yes)
$(DYNAMO) build-doc -pandoc docs
$(3)
endif
cd docs && pandoc $(DOC_OPTIONS) -o $(1).pdf --template=./eisvogel.tex $(2)

docs/$(1).html: docs/$(1).pdf force
cd docs && pandoc $(HTML_OPTIONS) -o $(1).html $(2)

endif

endef

force:

build-test::
Expand Down

0 comments on commit 52dcfd3

Please sign in to comment.