1234567891011121314151617181920212223242526272829303132333435 |
- all: main.pdf
- # apt-get install texlive-full
- define Show =
- # -killall evince
- evince main.pdf 2>/dev/null &
- endef
- main.pdf: *.tex *.bib Strona_tytulowa_pracy_magisterskiej_pisanej_w_jezyku_polskim.pdf agda-tex/*.tex deunicodize.sh podstawy/*
- sh deunicodize.sh
- rm -f main.aux
- latex --shell-escape main.tex
- bibtex main
- latex --shell-escape main.tex
- latex --shell-escape main.tex
- -grep --color=auto Warn main.log || echo 'Nie ma ostrzeżeń' # Grep zwraca błąd jak nic nie znajdzie
- rm -f *.aux
- $(Show)
- .PHONY: archive clean show fast
- fast:
- latex --shell-escape main.tex
- archive:
- git archive --prefix=main-h-adapt/ --output=../main-h-adapt.zip HEAD
- clean:
- git clean -n -X | grep -v swp | sed 's/Would remove //' | xargs rm -f
- show:
- $(Show)
|