2019-12-30 19:50:37 +00:00
|
|
|
BUILDDIR=ungleich-staticcms-build
|
2019-09-24 12:13:26 +00:00
|
|
|
DESTINATION=ungleichstatic@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticcms.ungleich.ch/www/
|
|
|
|
|
|
|
|
all: publish
|
|
|
|
|
2019-09-25 12:31:06 +00:00
|
|
|
pull:
|
|
|
|
git pull
|
|
|
|
|
|
|
|
publish: pull build permissions
|
2019-10-07 22:42:41 +00:00
|
|
|
rsync -av --exclude .lektor/ $(BUILDDIR)/ $(DESTINATION)
|
2019-09-24 12:13:26 +00:00
|
|
|
|
|
|
|
permissions: build
|
|
|
|
find $(BUILDDIR) -type f -exec chmod 0644 {} \;
|
|
|
|
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
|
|
|
|
|
|
|
|
build:
|
|
|
|
lektor build -O $(BUILDDIR)
|
2019-11-18 14:36:27 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(BUILDDIR)
|