[Volute] r3506 - trunk/projects/registry/VOResource/terms

Volute commit messages volutecommits at g-vo.org
Wed Oct 26 18:05:59 CEST 2016


Author: msdemlei
Date: Thu Aug 18 10:37:06 2016
New Revision: 3506

Log:
VOResource terms: added a Makefile for installation.

Added:
   trunk/projects/registry/VOResource/terms/Makefile
Modified:
   trunk/projects/registry/VOResource/terms/   (props changed)

Added: trunk/projects/registry/VOResource/terms/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/projects/registry/VOResource/terms/Makefile	Thu Aug 18 10:37:06 2016	(r3506)
@@ -0,0 +1,17 @@
+# A shallow wrapper for installing the vocabularies; you for each destination,
+# you have to define both a _DEST (where to rsync the material) and a
+# _URL_ROOT (where to point a browser to find the root of the vocabulary
+# tree generated).
+# This isn't pretty yet, but let's see how tricky we want to get here.
+
+TEST_DEST=alnilam:/var/www/docs/vocab-test
+TEST_URL_ROOT=/vocab-test
+
+BUILT_DIRS=content_level content_type date_role relationship_type
+
+test-install:
+	python convert.py --install-root $(TEST_URL_ROOT) vocabs.conf
+	rsync -av $(BUILT_DIRS) $(TEST_DEST)
+
+clean:
+	rm -rf .build_stamp $(BUILT_DIRS)


More information about the Volutecommits mailing list