summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2015-08-23 00:37:27 +0200
committerMichael Schwarz <michi.schwarz@gmail.com>2015-08-27 15:30:31 +0200
commit853c56a38b16fa8299f483d3076713aaccc6fcf8 (patch)
treedbe5fd43dbf909dde6966f41e56b2a02534b5a2c
parent478c3df1f136f00cc84772f4b41c96da32268b13 (diff)
downloadpogojig-853c56a38b16fa8299f483d3076713aaccc6fcf8.tar.gz
pogojig-853c56a38b16fa8299f483d3076713aaccc6fcf8.tar.bz2
pogojig-853c56a38b16fa8299f483d3076713aaccc6fcf8.zip
Fixed automatism which clobbered file name extensions.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0fcf4c7..693616a 100644
--- a/Makefile
+++ b/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))
# 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.
SRC_FILES := $(sort $(GENERATED_FILES) $(shell find src -not \( \( -name '.*' -or -name '* *' \) -prune \) -type f))