2019-09-24 21:13:26 +09:00
|
|
|
BUILDDIR=../ungleich-staticcms-build
|
|
|
|
DESTINATION=ungleichstatic@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticcms.ungleich.ch/www/
|
|
|
|
|
|
|
|
all: publish
|
|
|
|
|
2019-09-25 21:31:06 +09:00
|
|
|
pull:
|
|
|
|
git pull
|
|
|
|
|
|
|
|
publish: pull build permissions
|
2019-09-24 21:13:26 +09:00
|
|
|
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)
|