Commit 0f95f7fc authored by Andreas Schneider's avatar Andreas Schneider

tools: Do not compile darktable-noiseprofiel from gen script

parent 6d08640f
PROGS = darktable-noiseprofile
CFLAGS = -g -std=c99 -Wall
all: $(PROGS)
clean:
rm -f $(PROGS)
darktable-noiseprofile: noiseprofile.c
$(CC) $(CFLAGS) noiseprofile.c -lm -o $@
.PHONY: all clean
...@@ -87,9 +87,6 @@ fi ...@@ -87,9 +87,6 @@ fi
if ! profiling_tools_installed; then if ! profiling_tools_installed; then
missing_tool=1 missing_tool=1
fi fi
if ! internal_tools_available; then
missing_tool=1
fi
if ! tethering_tools_installed; then if ! tethering_tools_installed; then
cat <<EOF cat <<EOF
......
...@@ -218,37 +218,6 @@ of the presets. Please install this command and re-run this script."; then ...@@ -218,37 +218,6 @@ of the presets. Please install this command and re-run this script."; then
return $missing_tool return $missing_tool
} }
internal_tools_available() {
local missing_tool
missing_tool=0
echo "--> Check for internal tools availability"
if ! tool_installed awk "
awk is needed to prepare presets."; then
missing_tool=1
fi
if ! tool_installed make "
make is required to build darktable tools dedicated to noise profiling.
Please install this command and re-run this script."; then
missing_tool=1
fi
if ! tool_installed cc "
A compilator (eg. gcc) is required to build darktable tools dedicated to
noise profiling. Please install this command and re-run this script."; then
missing_tool=1
fi
if [ "$missing_tool" = "1" ]; then
return 1
fi
echo "--> Build profiling tools"
make -C "$scriptdir"
}
get_darktable_version() { get_darktable_version() {
local version local version
......
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