mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorsPackage@47 08cae9ef-cb74-4d14-b03a-d7ea46f178d7
58 lines
761 B
Makefile
58 lines
761 B
Makefile
DESTDIR?=../docs
|
|
|
|
|
|
#manual-api manual-calwiz manual-client manual-gui manual-main
|
|
|
|
|
|
TEX=latex
|
|
|
|
MAINTEXS= slsDetectorClientHowTo.tex
|
|
|
|
DVIS = $(MAINTEXS:.tex=.dvi)
|
|
PSS = $(MAINTEXS:.tex=.ps)
|
|
PDFS = $(MAINTEXS:.tex=.pdf)
|
|
|
|
#TARGETS=$(join $(DESTDIR)/, $(notdir $(MAINTEXS:.tex=.pdf)))
|
|
|
|
#destdir?!?!?
|
|
|
|
|
|
|
|
DVIS = $(MAINTEXS:.tex=.dvi)
|
|
PSS = $(MAINTEXS:.tex=.ps)
|
|
PDFS = $(MAINTEXS:.tex=.pdf)
|
|
|
|
HTMLS = $(MAINTEXS:%.tex=%)
|
|
|
|
|
|
#destdir?!?!?
|
|
|
|
all: $(PDFS) $(HTMLS)
|
|
echo $(PWD)
|
|
echo $(PDFS)
|
|
echo $(HTMLS)
|
|
|
|
pdf: $(PDFS)
|
|
|
|
html: $(HTMLS)
|
|
|
|
$(HTMLS): $(MAINTEXS)
|
|
latex $@.tex
|
|
latex2html -split 4 $@.tex
|
|
|
|
|
|
%.dvi : %.tex
|
|
latex $<
|
|
latex $<
|
|
|
|
%.ps : %.dvi
|
|
dvips -o $@ $<
|
|
|
|
|
|
%.pdf : %.ps
|
|
ps2pdf $< $@
|
|
|
|
|
|
clean:
|
|
rm -rf *.aux *.log *.toc *.out $(DVIS) $(PSS) $(PDFS) $(HTMLS)
|