CORE = 8
PROJECT = drupal
ENV ?= dev
-CONTAINER = kvmx # vagrant or even docker
DATE = $(shell date +%Y%m%d)
CWD = $(shell pwd)
-DESTDIR ?= /var/www/data # vendor
+DESTDIR ?= /var/www/data
DRUPAL = $(DESTDIR)/drupal-$(CORE)
DRUSH = drush -r $(DRUPAL) -l $(PROJECT)
+# Customization examples
+#CONTAINER = vagrant
+#CONTAINER = docker
+#DESTDIR ?= vendor
+
# Include local customizations/overrides, which might be .gitignore'd
# See https://www.gnu.org/software/make/manual/html_node/Include.html
#-include Makefile.local
BASE=$(DESTDIR) drupal upgrade $(CORE)
# Configure update hook on remote host
-post_receive:
- git config receive.denyCurrentBranch ignore
- cd .git/hooks && ln -sf ../../bin/post-receive
+#post_receive:
+# git config receive.denyCurrentBranch ignore
+# cd .git/hooks && ln -sf ../../bin/post-receive
# Pull changes
pull: