Skip to content
Snippets Groups Projects
Commit edaba316 authored by Frank Steinberg's avatar Frank Steinberg
Browse files

Cleanup.

parent 6766bf8e
Branches
No related tags found
No related merge requests found
...@@ -2,7 +2,8 @@ bjcp-2015-styleguide-de.xml ...@@ -2,7 +2,8 @@ bjcp-2015-styleguide-de.xml
bjcp-2015-styleguide-orig.xml bjcp-2015-styleguide-orig.xml
bjcp-2015-styleguide-de.html bjcp-2015-styleguide-de.html
bjcp-2015-styleguide-orig.html bjcp-2015-styleguide-orig.html
cache/ cache/2015_Guidelines_Beer.docx
cache/bjcp-2015-styleguide-word.xml
orig/ orig/
tmp/ tmp/
web/bjcp-2015-styleguide-de-auto.xml web/bjcp-2015-styleguide-de-auto.xml
......
...@@ -44,8 +44,8 @@ web/bjcp-2015-styleguide-orig.xml: bjcp-2015-styleguide-orig.xml ...@@ -44,8 +44,8 @@ web/bjcp-2015-styleguide-orig.xml: bjcp-2015-styleguide-orig.xml
web/bjcp-2015-styleguide-de.xml: bjcp-2015-styleguide-de.xml web/bjcp-2015-styleguide-de.xml: bjcp-2015-styleguide-de.xml
cp bjcp-2015-styleguide-de.xml web/ cp bjcp-2015-styleguide-de.xml web/
web/bjcp-2015-styleguide-de-auto.xml: bjcp-2015-styleguide-de-auto.xml web/bjcp-2015-styleguide-de-auto.xml: cache/bjcp-2015-styleguide-de-auto.xml
cp bjcp-2015-styleguide-de-auto.xml web/bjcp-2015-styleguide-de-auto.xml cp cache/bjcp-2015-styleguide-de-auto.xml web/bjcp-2015-styleguide-de-auto.xml
web/bjcp-2015-styleguide-orig.html: bjcp-2015-styleguide-orig.html web/bjcp-2015-styleguide-orig.html: bjcp-2015-styleguide-orig.html
cp bjcp-2015-styleguide-orig.html web/ cp bjcp-2015-styleguide-orig.html web/
...@@ -70,7 +70,11 @@ clean: ...@@ -70,7 +70,11 @@ clean:
@rm -f bjcp-2015-styleguide-de.xml @rm -f bjcp-2015-styleguide-de.xml
@rm -f bjcp-2015-styleguide-orig.html @rm -f bjcp-2015-styleguide-orig.html
@rm -f bjcp-2015-styleguide-de.html @rm -f bjcp-2015-styleguide-de.html
@rm -f bjcp-2015-styleguide-de-edit.html @rm -f web/bjcp-2015-styleguide-orig.xml
@rm -f web/bjcp-2015-styleguide-de.xml
@rm -f web/bjcp-2015-styleguide-de-auto.xml
@rm -f web/bjcp-2015-styleguide-orig.html
@rm -f web/bjcp-2015-styleguide-de.html
@echo "cleanup done" @echo "cleanup done"
distclean: clean distclean: clean
...@@ -90,9 +94,11 @@ apply: ...@@ -90,9 +94,11 @@ apply:
## Google Translate stuff -- this works only for users with a properly configured Google Cloud setup ## Google Translate stuff -- this works only for users with a properly configured Google Cloud setup
translate: cache/bjcp-2015-styleguide-de-auto.xml
cache/bjcp-2015-styleguide-de-auto.xml:
cat bjcp-2015-styleguide-orig.xml | ./translate | xmllint --format - > cache/bjcp-2015-styleguide-de-auto.xml
delete-glossary: delete-glossary:
curl -X DELETE -H "Authorization: Bearer "`gcloud auth application-default print-access-token` https://translation.googleapis.com/v3beta1/projects/$(PROJECTID)/locations/$(LOCATION)/glossaries/$(GLOSSARYID) curl -X DELETE -H "Authorization: Bearer "`gcloud auth application-default print-access-token` https://translation.googleapis.com/v3beta1/projects/$(PROJECTID)/locations/$(LOCATION)/glossaries/$(GLOSSARYID)
bjcp-2015-styleguide-de-auto.xml: bjcp-2015-styleguide-orig.xml
cat bjcp-2015-styleguide-orig.xml | ./translate | xmllint --format - > bjcp-2015-styleguide-de-auto.xml
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment