ADD: added targets for creating .gitignore and .latexmkrc files
This commit is contained in:
parent
cd404c831a
commit
3bc6f5e0d9
24
Makefile
24
Makefile
@ -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,$@)
|
LATEXMK=export TEXINPUTS=$(TEXINPUTS);latexmk -use-make -f $(DEPFLAGS) -pdf $(subst .pdf,.tex,$@) 1>>$(subst .pdf,.log,$@) 2>>$(subst .pdf,.log,$@)
|
||||||
|
|
||||||
.SECONDARY: .latexmkrc
|
.SECONDARY: .latexmkrc
|
||||||
.PHONY: clean watermark IEEE
|
.PHONY: clean watermark IEEE base
|
||||||
|
|
||||||
%.pdf : %.dot
|
%.pdf : %.dot
|
||||||
@echo "**** Generating $@ from dot file $< ****"
|
@echo "**** Generating $@ from dot file $< ****"
|
||||||
@ -46,6 +46,28 @@ IEEEtran.cls:
|
|||||||
@unzip -j ieee-latex-conference-template.zip IEEEtran/IEEEtran.cls >/dev/null
|
@unzip -j ieee-latex-conference-template.zip IEEEtran/IEEEtran.cls >/dev/null
|
||||||
@rm ieee-latex-conference-template.zip
|
@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:
|
watermark.tex:
|
||||||
cp Paper-Makefile/watermark.tex $@
|
cp Paper-Makefile/watermark.tex $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user