Skip to content
Snippets Groups Projects
Commit 2d3966a2 authored by Clément DURAND's avatar Clément DURAND
Browse files

makefile linux

parent 8fa4ccd7
No related branches found
No related tags found
No related merge requests found
.PHONY: package install clean cleandist
PDFLATEX:=pdflatex -interaction=nonstopmode
PKGDIR:=$(shell kpsewhich --show-path=ls-R | tr : '\n' | grep texmf | grep local | head -n1)
POLYPKGDIR:=$(PKGDIR)/tex/latex/polytechnique
all: package
package: polytechnique.sty
%.sty: %.dtx
$(PDFLATEX) $*.dtx
install: package clean
mkdir -p $(POLYPKGDIR)
cp -r . $(POLYPKGDIR)
clean:
rm -f polytechnique.aux polytechnique.glo polytechnique.idx polytechnique.log polytechnique.out polytechnique.toc
cleandist: clean
rm -f polytechnique.pdf polytechnique.sty
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