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 REVISION=$(shell git describe --always --tags --dirty --long || echo "unknown, "`date +"%F %T %z"`) export REVISION all: docs docs: doxygen pdf doxygen: $(DOX) $(DOXOPTS) config.dox pdf: doxygen -$(MAKE) -C $(LATEX_DIR) clean: -rm latex/* -rm html/*