Neuordnung der videogalerieerzeugung

new file:   markdownExperiment/src/Makefiles/Makefiles.vidGal.d/Makefile.vidGal
	new file:   markdownExperiment/src/Makefiles/Makefiles.vidGal.d/Makefile.vidGal.cfg
	new file:   markdownExperiment/src/Makefiles/Makefiles.vidGal.d/Makefile.webmCompress
	new file:   markdownExperiment/src/Makefiles/Makefiles.vidGal.d/Makefile.webmCompress.cfg
This commit is contained in:
marko
2019-05-14 14:44:14 +02:00
parent 1f422394eb
commit e6826149e9
4 changed files with 180 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
include Makefile.vidGal.cfg
.PHONY: all clean
all: $(webmVideos) $(jpegThumbs)
clean:
$(RM) \
$(vidstabLogs) \
$(firstPassLogs) \
$(webmVideos) \
$(jpegThumbs)
.PHONY: thumbnails
thumbnails: $(jpegThumbs)
videos/thumbnails/%.jpg: videos/.forCompressing/%.video
make --include-dir=${makefileDir} --file=${makefileDir}/Makefile.webmCompress $@
.PHONY: echo
echo:
@echo $(webmVideos)
@echo $(firstPassLogs)
@echo $(targetSourceDirectories)
# Erzeugen der Targets
# @todo das muss ich immer noch einzeln aufrufen ...
.PHONY: targetSources
targetSources:
mkdir -p videos/.forCompressing
for directory in $(targetSourceDirectories) ;\
do for file in $${directory}/*.*;\
do \
checkSum=$$(sha512sum $${file});\
ln -f $${file} videos/.forCompressing/$${checkSum%%\ *}.video;\
done;\
done;
# target und dependencies müssen noch angepasst werden
# Die erste Abhängigkeit muss das quellVideo sein!
videos/webm/%.webm: videos/.forCompressing/%.video
make --include-dir=${makefileDir} --file=${makefileDir}/Makefile.webmCompress $@