summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile5
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b9f3884..83bc75b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
LIKAT Publications.xml
dbxml.xml
+.update
diff --git a/Makefile b/Makefile
index cd47176..34b3c78 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,8 @@
+all: .update
+
dbxml.xml: LIKAT\ Publications.xml *.xsl *.sed Makefile
xsltproc convert-style-to-html.xsl "LIKAT Publications.xml" | xsltproc endnote-to-dbxml.xsl - | sed -f fix-empty-tags.sed > dbxml.xml
+
+.update: dbxml.xml
mysql -v -utypo3 -ptypo3 typo3 < update.sql
+ touch .update