aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.example
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-06-26 15:35:23 -0500
committerJesús <heckyel@hyperbola.info>2019-06-26 15:35:23 -0500
commita696a12f2c001c5be3b26ed1c4e21d4f8331f987 (patch)
tree7a7787facd1f9971608aab32313df09988223d35 /Makefile.example
parent3cb4edbd55646f776e16ab9ce34473f2a748e689 (diff)
downloadlibretube-a696a12f2c001c5be3b26ed1c4e21d4f8331f987.tar.lz
libretube-a696a12f2c001c5be3b26ed1c4e21d4f8331f987.tar.xz
libretube-a696a12f2c001c5be3b26ed1c4e21d4f8331f987.zip
remove NodeJS
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.example b/Makefile.example
index 43b1fda..41e2d71 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -34,6 +34,7 @@ help:
@echo ' make html (re)generate the web site '
@echo ' make clean remove the generated files '
@echo ' make regenerate regenerate files upon modification '
+ @echo ' make hashover_backup backup of hashover '
@echo ' make publish generate using production settings '
@echo ' make serve [PORT=8000] serve site at http://localhost:8000 '
@echo ' make serve-global [SERVER=0.0.0.0] serve (as root) to $(SERVER):80 '
@@ -51,7 +52,7 @@ help:
generate:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
-html: generate vendor
+html: clean generate vendor
clean:
[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
@@ -96,8 +97,11 @@ publish: publishconf vendor
ssh_upload: publish
scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
+hashover_backup:
+ rsync -rvzc $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)/hashover-next $(BASEDIR)/local.env/
+
rsync_upload: publish
- rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
+ rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)/
ftp_upload: publish
lftp ftp://$(FTP_USER)@$(FTP_HOST) -e "mirror -R $(OUTPUTDIR) $(FTP_TARGET_DIR) ; quit"