Browse Source

Add some magic

master
decentral1se 1 year ago
parent
commit
5b20f1b549
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 4
      3-column-plus/Makefile
  2. 4
      old/Makefile

4
3-column-plus/Makefile

@ -96,8 +96,10 @@ stopserver:
$(BASEDIR)/develop_server.sh stop
@echo 'Stopped Pelican and SimpleHTTPServer processes running in background.'
# Note: sorry ...
MAGIC = $$(basename $$PWD)
publish:
$(PELICAN) $(INPUTDIR) -o /var/www/html/ -s $(PUBLISHCONF) $(PELICANOPTS)
$(PELICAN) $(INPUTDIR) -o "/var/www/manymanymany-varia-websites/$(MAGIC)" -s $(PUBLISHCONF) $(PELICANOPTS)
ssh_upload: publish
scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)

4
old/Makefile

@ -96,8 +96,10 @@ stopserver:
$(BASEDIR)/develop_server.sh stop
@echo 'Stopped Pelican and SimpleHTTPServer processes running in background.'
# Note: sorry ...
MAGIC = $$(basename $$PWD)
publish:
$(PELICAN) $(INPUTDIR) -o /var/www/html/ -s $(PUBLISHCONF) $(PELICANOPTS)
$(PELICAN) $(INPUTDIR) -o "/var/www/manymanymany-varia-websites/$(MAGIC)" -s $(PUBLISHCONF) $(PELICANOPTS)
ssh_upload: publish
scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)

Loading…
Cancel
Save