Unverified Commit 07b4fbf9 authored by Andreas Schneider's avatar Andreas Schneider Committed by Tobias Ellinghaus

tools: Add darktable prefix to noise tools

(cherry picked from commit d04269b9)
parent f6b74ae1
PROGS = noiseprofile
PROGS = darktable-noiseprofile
CFLAGS = -g -std=c99 -Wall
......@@ -7,7 +7,7 @@ all: $(PROGS)
clean:
rm -f $(PROGS)
noiseprofile: noiseprofile.c
darktable-noiseprofile: noiseprofile.c
$(CC) $(CFLAGS) noiseprofile.c -lm -o $@
.PHONY: all clean
......@@ -123,7 +123,7 @@ profile_image() {
iso=$(get_image_iso "$image")
xmp="$scriptdir/profiling-shot.xmp"
noiseprofile="$scriptdir/noiseprofile"
noiseprofile="$scriptdir/darktable-noiseprofile"
echo
echo "===> Profile image for \"$maker - $model - $iso ISO\""
......@@ -137,7 +137,7 @@ profile_image() {
echo "--> Skip $image (ISO $iso); output up-to-date"
fi
echo "--> Run noiseprofile"
echo "--> Run darktable-noiseprofile"
dat="${pfm%.pfm}.dat"
"$noiseprofile" "$pfm" > "$dat"
......@@ -509,7 +509,7 @@ fi
# Prepare a tarball ready to be sent to the darktable team.
echo
echo "===> Prepare final tarball"
tarball="$profiling_dir"/dt-noiseprofile-$(date +'%Y%m%d').tar.gz
tarball="$profiling_dir"/darktable-noiseprofile-$(date +'%Y%m%d').tar.gz
cd "$profiling_dir"
tar -cf - "$(basename "$presets_json")" $(cat "$(basename "$files_list")") "$(basename "$resultpdf")" | gzip > "$(basename "$tarball")"
cd -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment