diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..22c5a5e --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +BUILDDIR=../ungleich-staticcms-build +DESTINATION=ungleichstatic@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticcms.ungleich.ch/www/ + +all: publish + +publish: build permissions + rsync -av $(BUILDDIR)/ $(DESTINATION) + +permissions: build + find $(BUILDDIR) -type f -exec chmod 0644 {} \; + find $(BUILDDIR) -type d -exec chmod 0755 {} \; + +build: + lektor build -O $(BUILDDIR) diff --git a/assets/static/style.css b/assets/u/static/style.css similarity index 100% rename from assets/static/style.css rename to assets/u/static/style.css