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:
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user