2016-02-10 16:00:34 +01:00
|
|
|
SHELL=/bin/sh
|
|
|
|
|
|
|
|
|
|
# makefile for PEARL procedures documentation
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
|
.SUFFIXES: .c .cpp .cxx .exe .f .h .i .o .py .pyf .so .html
|
|
|
|
|
.PHONY: all docs clean
|
|
|
|
|
|
|
|
|
|
DOX=doxygen
|
|
|
|
|
DOXOPTS=
|
|
|
|
|
LATEX_DIR=latex
|
|
|
|
|
|
2016-06-03 12:06:04 +02:00
|
|
|
REVISION=$(shell git describe --always --tags --dirty --long || echo "unknown, "`date +"%F %T %z"`)
|
2016-03-30 12:02:57 +02:00
|
|
|
export REVISION
|
|
|
|
|
|
2016-02-10 16:00:34 +01:00
|
|
|
all: docs
|
|
|
|
|
|
|
|
|
|
docs: doxygen pdf
|
|
|
|
|
|
|
|
|
|
doxygen:
|
2016-06-03 12:06:04 +02:00
|
|
|
$(DOX) $(DOXOPTS) config.dox
|
2016-02-10 16:00:34 +01:00
|
|
|
|
|
|
|
|
pdf: doxygen
|
|
|
|
|
-$(MAKE) -C $(LATEX_DIR)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
-rm latex/*
|
|
|
|
|
-rm html/*
|
2016-06-03 12:06:04 +02:00
|
|
|
|