File: 0001-Add-Makefile-to-build-paper-from-sources.patch

package info (click to toggle)
refnx 0.1.53-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 20,848 kB
  • sloc: python: 36,198; cpp: 1,015; ansic: 185; makefile: 181; sh: 129; lisp: 89; xml: 34
file content (28 lines) | stat: -rw-r--r-- 644 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Roland Mas <roland.mas@entierement.net>
Date: Wed, 26 Apr 2023 11:28:04 +0200
Subject: Add Makefile to build paper from sources

---
 paper/Makefile | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 paper/Makefile

diff --git a/paper/Makefile b/paper/Makefile
new file mode 100644
index 0000000..25e89d2
--- /dev/null
+++ b/paper/Makefile
@@ -0,0 +1,13 @@
+#! /usr/bin/make -f
+
+TARGET=nelson-prescott-2019.pdf
+
+$(TARGET): manuscript.tex main.bib
+	pdflatex $<
+	bibtex $(basename $<).aux
+	pdflatex $<
+	pdflatex $<
+	mv manuscript.pdf $@
+
+clean:
+	rm -f manuscript.b* manuscript.aux manuscript.log $(TARGET)