SSHCOMMAND:=ssh root@$(PLC)
else
ifdef PLCHOSTLXC
-SSHURL:=root@$(PLCHOSTLXC):/var/lib/lxc/$(GUESTNAME)/rootfs
+SSHURL:=root@$(PLCHOSTLXC):/vservers/$(GUESTNAME)
SSHCOMMAND:=ssh root@$(PLCHOSTLXC) ssh $(GUESTHOSTNAME)
else
ifdef PLCHOSTVS
@exit 1
else
+$(RSYNC) planetlab plekit modules $(SSHURL)/var/www/html/
+ +$(RSYNC) drupal-hacks/*.module $(SSHURL)/var/www/html/modules/
endif
compress:
$(foreach file,\
$(shell find . -type f -iname "*.js" | grep -v datepicker.js | grep -v raphael),\
- $(shell python jsmin.py < $(file) > $(file).new && mv $(file).new $(file)))
+ $(shell python2 jsmin.py < $(file) > $(file).new && mv $(file).new $(file)))
@echo "Compressed .js files with jsmin.py"
.PHONY: compress