X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmetadata%2Fdc%2FMakefile;fp=helm%2Fmetadata%2Fdc%2FMakefile;h=0000000000000000000000000000000000000000;hb=d43522a6d38fcb9081a3f0352088377bc0555231;hp=c9a7c73d6f56ac4c3bf31faccabd96dbaa131fed;hpb=9a9c95ebabbb1d4d7dce627ed1baea130ea98766;p=helm.git diff --git a/helm/metadata/dc/Makefile b/helm/metadata/dc/Makefile deleted file mode 100644 index c9a7c73d6..000000000 --- a/helm/metadata/dc/Makefile +++ /dev/null @@ -1,32 +0,0 @@ - -SQL_DB = mowgli -SQL_DIR = sql -SQL_HOST = localhost -SQL_PASSWORD = bjIcRpru -SQL_USER = helmadmin -DC_DIR = /projects/helm/library/dc/ - -SQL_ENGINE = \ - mysql -h $(SQL_HOST) -u $(SQL_USER) --password=$(SQL_PASSWORD) $(SQL_DB) - -all: - @echo "try one of:" - @echo " make connect" - @echo " make create_tables" - @echo " make fill_db" - @echo " make drop_tables" - -connect: - $(SQL_ENGINE) - -create_tables: - $(SQL_ENGINE) < $(SQL_DIR)/create_dc_tables.sql - -fill_db: - find $(DC_DIR) -name "*.xml" -exec ./fill_db.pl {} \; | $(SQL_ENGINE) - -drop_tables: - $(SQL_ENGINE) < $(SQL_DIR)/drop_dc_tables.sql - -.PHONY: all connect create_tables fill_db drop_tables -