summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <bfr@qbus.de>2015-02-18 19:09:57 +0100
committerBenjamin Franzke <bfr@qbus.de>2015-02-19 09:26:19 +0100
commit4052f8a1c7d64b33b38219fe823020dcdfb5f157 (patch)
tree496129bfcc6959eaeea9941f26c84955c2a37d56
parentfe9ddf26982c165d7972c8f013e430d80e912dc1 (diff)
downloadendnote-import-4052f8a1c7d64b33b38219fe823020dcdfb5f157.zip
endnote-import-4052f8a1c7d64b33b38219fe823020dcdfb5f157.tar.gz
endnote-import-4052f8a1c7d64b33b38219fe823020dcdfb5f157.tar.bz2
Makefile: add a seperate update target
-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