Skip to content

Commit

Permalink
chore(rules): Avoid warning by defining var if usage is possible
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jun 27, 2023
1 parent 67c2674 commit db59acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/renderings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ $(BOOKSCENES): $(BUILDDIR)/%-$(_3d).pov: $$(geometryfile) $(BUILDDIR)/%.inc
#declare MaxPile = $(call scale,25,5);
EOF

ifneq ($(strip $(SOURCES)),$(strip $(PROJECT)))
SERIESSCENES := $(addprefix $(BUILDDIR)/,$(call pattern_list,$(PROJECT),$(RENDERED),-$(_3d).pov))
ifneq ($(strip $(SOURCES)),$(strip $(PROJECT)))
$(SERIESSCENES): $(BUILDDIR)/$(PROJECT)-%-$(_3d).pov: $(BUILDDIR)/$(firstword $(EDITIONEDITSOURCES))-%-$(_3d).pov $(addprefix $(BUILDDIR)/,$(call pattern_list,$(EDITIONEDITSOURCES),-%.inc))
cat <<- EOF > $@
#include "$<"
Expand Down

0 comments on commit db59acd

Please sign in to comment.