+++ /dev/null
-CWD=/projects/helm/metadata/postgresql_V7_mowgli_new_schema
-
-txt:
- (cd forward && find . -type d -exec mkdir -p $(CWD)/txt/{} \;)
- (cd forward && find . -name "*.xml" -exec xsltproc --param path '"{}"' -o $(CWD)/txt/{}.txt $(CWD)/metainfo.xsl {} \; -exec echo {} \;)
-
-upload:
- ./upload_rel.pl forward_rel.xml | psql -h mowgli -U helm helm_mowgli_new_schema
- ./upload_sort.pl forward_sort.xml | psql -h mowgli -U helm helm_mowgli_new_schema
- (cd txt && find */* -name "*.txt" > index.txt)
- (cd txt && cat index.txt | ../inserisci.pl)
-
-clean:
- rm -rf txt/*
-
-.PHONY: txt