summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-07-13 14:53:22 +0200
committerGuido Günther <agx@sigxcpu.org>2013-07-13 14:54:16 +0200
commitb078b0be828767eef10ca9fcead5606b4cd4c75a (patch)
tree19213cb6f9753fc77c700fdaf594627ab3807e52
parent6b9cccae9aeda771b655680a09fb371718e44f31 (diff)
Add Makefile and .gitignore
-rw-r--r--.gitignore8
-rw-r--r--Makefile21
2 files changed, 29 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a9d727c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+*.vrb
+*.snm
+*.aux
+*.toc
+*.out
+*.nav
+*.log
+*~
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7039225
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+TARGET=gbp.pdf
+IMGS=$(shell ls images/*.png)
+SOURCES = $(TARGET:pdf=tex)
+
+all: $(TARGET) $(IMGS)
+
+$(TARGET): $(SOURCES)
+ pdflatex $<
+
+clean:
+ rm -f *.toc *.cgm *.nav *.log *.out *.aux *.snm *.*~ *.vrb
+
+allforce:
+ rm -f $(TARGET)
+ make all
+ rm -f $(TARGET)
+ make all
+
+show: $(TARGET) Makefile
+ evince -s --page-label=1 $(TARGET)
+