ADD: added targets for creating .gitignore and .latexmkrc files

This commit is contained in:
Dominik Meyer 2018-03-20 17:38:04 +01:00
parent cd404c831a
commit 3bc6f5e0d9

View File

@ -17,7 +17,7 @@ DEPFLAGS = -M -MP -MF $(DEPDIR)/$*.d
LATEXMK=export TEXINPUTS=$(TEXINPUTS);latexmk -use-make -f $(DEPFLAGS) -pdf $(subst .pdf,.tex,$@) 1>>$(subst .pdf,.log,$@) 2>>$(subst .pdf,.log,$@)
.SECONDARY: .latexmkrc
.PHONY: clean watermark IEEE
.PHONY: clean watermark IEEE base
%.pdf : %.dot
@echo "**** Generating $@ from dot file $< ****"
@ -46,6 +46,28 @@ IEEEtran.cls:
@unzip -j ieee-latex-conference-template.zip IEEEtran/IEEEtran.cls >/dev/null
@rm ieee-latex-conference-template.zip
base: .gitignore .latexmkrc
.gitignore:
@echo *.pdf >> .gitignore
@echo *.aux >> .gitignore
@echo *.bbl >> .gitignore
@echo *.bcf >> .gitignore
@echo *.blg >> .gitignore
@echo *.dvi >> .gitignore
@echo *.log >> .gitignore
@echo *.run.xml >> .gitignore
@echo *.fls >> .gitignore
@echo *.*latexmk >> .gitignore
@echo *.files >> .gitignore
@echo *-blx.bib >> .gitignore
@echo *.out >> .gitignore
@echo **/*.dep >> .gitignore
@echo .d >> .gitignore
.latexmkrc:
@echo '$$pdflatex' "= 'pdflatex -interaction=nonstopmode';" >> $@
watermark.tex:
cp Paper-Makefile/watermark.tex $@