aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/hubzilla_er/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/util/hubzilla_er/Makefile b/util/hubzilla_er/Makefile
new file mode 100644
index 000000000..f36f01007
--- /dev/null
+++ b/util/hubzilla_er/Makefile
@@ -0,0 +1,17 @@
+#makefile for schemaspy
+
+
+#NOTE: This makefile sucks. It needs to have all run the script, and check that schemaspy and mysqlconn are present.
+
+schemaspy::
+ wget "http://downloads.sourceforge.net/project/schemaspy/schemaspy/SchemaSpy%205.0.0/schemaSpy_5.0.0.jar?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fschemaspy%2F&ts=1447051240&use_mirror=iweb"
+
+mysqlconn::
+ wget http://central.maven.org/maven2/mysql/mysql-connector-java/5.1.17/mysql-connector-java-5.1.17.jar
+
+#TODO: install java and graphviz or check it is there
+
+install: schemaspy mysqlconn
+
+run:
+ ../util/schemaspy