20 lines
No EOL
451 B
Makefile
20 lines
No EOL
451 B
Makefile
BUILDDIR=../ungleich-staticcms-build
|
|
DESTINATION=ungleichstatic@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticcms.ungleich.ch/www/
|
|
|
|
all: publish
|
|
|
|
pull:
|
|
git pull
|
|
|
|
publish: pull build permissions
|
|
rsync -av --exclude .lektor/ $(BUILDDIR)/ $(DESTINATION)
|
|
|
|
permissions: build
|
|
find $(BUILDDIR) -type f -exec chmod 0644 {} \;
|
|
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
|
|
|
|
build:
|
|
lektor build -O $(BUILDDIR)
|
|
|
|
clean:
|
|
rm -rf $(BUILDDIR)
|