modified: Makefile - Ein Makefile zum Upload einer VideoGalerie auf eine ftpServer modified: src/Makefiles/Makefile.ftpUpload - Starte "ohne Teilnahme" werden nicht mehr in der Gesamptanzahl berücksichtigt modified: wkParticipo/admin/showEvent.php modified: wkParticipo/showWkEvent.php
21 lines
905 B
Makefile
21 lines
905 B
Makefile
include Makefile.cfg
|
|
|
|
ftpServer = ftpupload.net
|
|
ftpUser = unaux_22935783
|
|
ftpPassword = eeloor0D
|
|
|
|
ftpPathBase = /htdocs/videoalben/videoalben.2018
|
|
|
|
vidGalIndexPhp = /d/temp/cwsvJudo/homepage/redesign2018/markdownExperiment/src/galleryTemplates/indexHier.php
|
|
dryRun = --dry-run
|
|
timeHandling= --only-newer
|
|
|
|
.PHONY: all
|
|
all:
|
|
|
|
.PHONY: ftpUpload
|
|
ftpUpload:
|
|
lftp -e 'set net:limit-rate 25600; mkdir -f $(ftpPathBase)/$(VID_GAL_DIR); mkdir -f $(ftpPathBase)/$(VID_GAL_DIR)/thumbnails; mkdir -f $(ftpPathBase)/$(VID_GAL_DIR)/webm; put $(vidGalIndexPhp) -o $(ftpPathBase)/$(VID_GAL_DIR)/index.php; put videos/config.inc.php -o $(ftpPathBase)/$(VID_GAL_DIR)/config.inc.php; mirror $(dryRun) $(timeHandling) -R videos/thumbnails $(ftpPathBase)/$(VID_GAL_DIR)/thumbnails; mirror $(dryRun) $(timeHandling) -R videos/webm $(ftpPathBase)/$(VID_GAL_DIR)/webm; quit; ' \
|
|
-u $(ftpUser),$(ftpPassword) ftp://$(ftpServer)
|
|
|