OpenCola/Makefile

18 lines
455 B
Makefile
Raw Permalink Normal View History

SRCDIR := ./
BUILDDIR := ./build/
OUTPUTDIR := ./opencola.materials/
2023-01-05 03:06:52 +00:00
include Targets
all: $(TARGETS)
$(TARGETS):
2023-01-17 00:03:22 +00:00
- mkdir build
latex --output-format=pdf --output-directory=$(BUILDDIR) --directory=$(BUILDDIR) $(SRCDIR)/$@.tex
latex --output-format=pdf --output-directory=$(BUILDDIR) --directory=$(BUILDDIR) $(SRCDIR)/$@.tex
- mkdir build/$@
latex2html -dir $(BUILDDIR)/$@ $(SRCDIR)/$@.tex
cp $(BUILDDIR)/$@.pdf $(OUTPUTDIR)
2023-01-05 03:06:52 +00:00
clean:
2023-01-17 00:03:22 +00:00
- rm -rf build