Toggle navigation
Beam GIT List
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
adf2515909655d6ab6cac3fc89f71f355958e830
Branches
master
Tags
release-2.3.0-1.beam
Files
Commits
Log
Graph
Stats
tms
tms-doc
Makefile
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
HTTPS
Blames found: 28
Mode: text
Binary: false
Hang on, we reloading big blames...
4652dfd7
################################################################################ # Makefile for Documentation
adf25159
# T.Barnaby, BEAM Ltd, 2024-08-16
4652dfd7
################################################################################ #
adf25159
TOP = ${shell pwd}/.. include ${TOP}/Config.mk
8b192011
4652dfd7
FILES = *.html *.jpg *.gif *.pdf *.doc libTmsApi libBeamApi
8b192011
DOCSRCS = $(wildcard *.od[tp]) DOCPDFS := $(DOCSRCS:.odt=.pdf) DOCPDFS := $(DOCPDFS:.odp=.pdf)
adf25159
#.PHONY: libTmsApi libBeamApi
4652dfd7
adf25159
all:: build
8b192011
ifeq ("$(BUILDDOC)", "yes") build: libBeamApi libTmsApi ${DOCPDFS} else build: endif
adf25159
configured: ${TOP}/Config.mk sed -i "s/PROJECT_NUMBER.*/PROJECT_NUMBER\t\t= ${VERSION}/g" libTmsApi.dox touch configured
4652dfd7
dox: libTmsApi libBeamApi clean:
8b192011
rm -fr libBeamApi libTmsApi
4652dfd7
adf25159
clean-all: clean rm -f *.pdf configured
4652dfd7
install: all mkdir -p ${DOCDIR} cp -a * ${DOCDIR}
adf25159
libTmsApi: configured
4652dfd7
doxygen libTmsApi.dox
8b192011
#(cd libTmsApi/latex; make) > /dev/null 2>&1 #cp libTmsApi/latex/refman.pdf libTmsApi.pdf #rm -fr libTmsApi/latex
adf25159
touch libTmsApi
4652dfd7
adf25159
libBeamApi: configured
4652dfd7
doxygen libBeamApi.dox
8b192011
#(cd libBeamApi/latex; make) > /dev/null 2>&1 #cp libBeamApi/latex/refman.pdf libBeamApi.pdf #rm -fr libBeamApi/latex
adf25159
touch libBeamApi
4652dfd7
8b192011
%.pdf: %.od[tp] @# Need separate working directory for soffice instances @TMPDIR=$$(mktemp -d /tmp/bds-soffice-XXXXXXXXXX);\ soffice -env:UserInstallation=file:///$${TMPDIR} --headless --convert-to pdf $<;\ rm -fr $${TMPDIR}