From 75033b2ca3a177908c464d970860074813fc642a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 28 Oct 2017 08:24:17 -0200 Subject: Drupal 8: Makefile: comment old targets --- share/drupal8/Makefile | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/share/drupal8/Makefile b/share/drupal8/Makefile index 3b005a9..ae9be20 100644 --- a/share/drupal8/Makefile +++ b/share/drupal8/Makefile @@ -24,8 +24,9 @@ develop: submodules kvmx #vagrant ssh -c "$(DRUSH) pm-enable devel -y" kvmx ssh "$(DRUSH) pm-enable devel -y" +# Old target # Install the platform -platform: drupal drush settings symlinks initdb cache +#platform: drupal drush settings symlinks initdb cache # Keep code in sync sync-code: update drush cache import @@ -44,23 +45,25 @@ kvmx: kvmx up kvmx provision +# Old target # Download drupal, setup folder structure and config file # # You might want to use "-n" to avoid _drush_recursive_copy cpu hog if previous # installation already exists when using 9p filesystem -drupal: - #rm -rf $(DESTDIR)/drupal-$(CORE)* && drush pm-download -y -v drupal-$(CORE) --destination=/tmp/drupal && mv /tmp/drupal/drupal-$(CORE).* $(DESTDIR)/ - #drush pm-download -y -v drupal-$(CORE) --destination=$(DESTDIR) - #( cd $(DRUPAL)/.. && ln -s drupal-$(CORE).* drupal-$(CORE) ) - BASE=$(DESTDIR) drupal download $(CORE) +#drupal: +# #rm -rf $(DESTDIR)/drupal-$(CORE)* && drush pm-download -y -v drupal-$(CORE) --destination=/tmp/drupal && mv /tmp/drupal/drupal-$(CORE).* $(DESTDIR)/ +# #drush pm-download -y -v drupal-$(CORE) --destination=$(DESTDIR) +# #( cd $(DRUPAL)/.. && ln -s drupal-$(CORE).* drupal-$(CORE) ) +# BASE=$(DESTDIR) drupal download $(CORE) +# Old target # Make the needed symlinks -symlinks: - ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/files - ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/config - ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/themes - ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/modules - ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/libraries +#symlinks: +# ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/files +# ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/config +# ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/themes +# ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/modules +# ln -sf -t $(DRUPAL)/sites/$(PROJECT)/ $(CWD)/libraries # Default settings default_settings: -- cgit v1.2.3