Skip to content
Snippets Groups Projects
Commit 81bef7e5 authored by chrissi^'s avatar chrissi^
Browse files

Cleanup: Move Mitgliederversammlung into it's own directory


Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>
parent 126435c8
No related branches found
No related tags found
No related merge requests found
Showing
with 64 additions and 0 deletions
[submodule "stratum0-latex"]
path = stratum0-latex
url = https://gitli.stratum0.org/rohieb/stratum0-latex.git
[submodule "MV_Protokolle/stratum0-latex"]
path = MV_Protokolle/stratum0-latex
url = https://gitli.stratum0.org/rohieb/stratum0-latex.git
#!/usr/bin/make -f
SRCS=$(wildcard \
Mitgliederversammlung*.tex \
Gründungsversammlung*.tex \
Satzung.tex \
Beitragsordnung.tex \
Spaceordnung.tex \
)
JOBNAMES=$(basename $(SRCS))
PDFS=$(addsuffix .pdf,$(JOBNAMES))
LATESTJOB=$(basename $(shell ls -1t $(SRCS) | head -n 1))
define latexmk
latexmk -pdf -dvi- -ps-
endef
all: $(PDFS)
help:
@echo "Available make targets:"
@echo " make, make all -- build PDFs for all .tex documents"
@echo " make clean -- remove all temporary files"
@echo " make mrproper -- remove all temporary and output files"
@echo " make help -- this help"
@echo " make doc.pdf -- build doc.pdf from doc.tex"
@echo " make preview -- build the most recent .tex file, and set PVC=1"
@echo
@echo "Variables:"
@echo " PVC=1 -- when building, start a PDF viewer and poll for updates"
@echo " on the .tex file"
clean:
rm -f $(addsuffix .aux,$(JOBNAMES)) \
$(addsuffix .fdb_latexmk,$(JOBNAMES)) \
$(addsuffix .fls,$(JOBNAMES)) \
$(addsuffix .log,$(JOBNAMES)) \
$(addsuffix .out,$(JOBNAMES)) \
$(addsuffix .toc,$(JOBNAMES)) \
vc.tex
mrproper: clean
rm -f $(PDFS)
preview:
$(latexmk) -pvc $(LATESTJOB).tex
stratum0-latex/stratum0-latex.ins: ../.gitmodules
git submodule update --init
s0artcl.cls s0minutes.cls: stratum0-latex/stratum0-latex.ins stratum0-latex/s0artcl.dtx stratum0-latex/s0minutes.dtx stratum0-latex/stratum0-latex.ins
${MAKE} -C stratum0-latex
if [ ! -h s0artcl.cls ]; then ln -s stratum0-latex/s0artcl.cls . ; fi
if [ ! -h s0minutes.cls ]; then ln -s stratum0-latex/s0minutes.cls . ; fi
vc.tex: ../.git/index ../.git/HEAD ../scripts/vc ../scripts/vc-git.awk
cd ../scripts; sh ./vc -m && mv vc.tex ..
%.pdf: %.tex vc.tex s0minutes.cls s0artcl.cls
$(latexmk) $(if $(PVC),-pvc,-pvc-) "$<"
# vim: ft=make ts=8 noet
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment