Fixed automatism which clobbered file name extensions.
This commit is contained in:
parent
478c3df1f1
commit
853c56a38b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -29,7 +29,7 @@ ASYMPTOTE_CMD := ASYMPTOTE=$(ASYMPTOTE) $(PYTHON_CMD) -m asymptote
|
||||||
filter_compiled = $(foreach i,$(patsubst %$1,%$2,$(filter %$1,$3)),$(if $(filter-out _%,$(notdir $i)),$i))
|
filter_compiled = $(foreach i,$(patsubst %$1,%$2,$(filter %$1,$3)),$(if $(filter-out _%,$(notdir $i)),$i))
|
||||||
|
|
||||||
# Run generate_scad.sh to get the names of all files that should be generated using that same script.
|
# Run generate_scad.sh to get the names of all files that should be generated using that same script.
|
||||||
GENERATED_FILES := $(addsuffix .scad,$(basename $(shell ./generate_sources.sh)))
|
GENERATED_FILES := $(shell ./generate_sources.sh)
|
||||||
|
|
||||||
# All visible files in the src directory that either exist or can be generated. Ignore files whose names contain spaces.
|
# All visible files in the src directory that either exist or can be generated. Ignore files whose names contain spaces.
|
||||||
SRC_FILES := $(sort $(GENERATED_FILES) $(shell find src -not \( \( -name '.*' -or -name '* *' \) -prune \) -type f))
|
SRC_FILES := $(sort $(GENERATED_FILES) $(shell find src -not \( \( -name '.*' -or -name '* *' \) -prune \) -type f))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue