From: Lady Date: Sat, 6 Jan 2024 03:23:38 +0000 (-0500) Subject: Don’t try to install asset includes X-Git-Tag: 0.2.2~3 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/d6e717d3dfdfd09bd3e35248b97d0c23c7f6b0bd?ds=inline Don’t try to install asset includes --- diff --git a/GNUmakefile b/GNUmakefile index d1a7f6e..ea676dc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -302,7 +302,7 @@ help: $(silent)$(PRINTF) '%b' '$(subst $(newline),\n,$(makefileinfo))' # Compile all files, or error if any are recursive. -all: $(call compiled,$(recursivefiles) $(compilablefiles) $(assetfiles)) ; +all: $(call compiled,$(recursivefiles) $(compilablefiles) $(filter $(sourcefiles),$(assetfiles))) ; # Destroy buildfiles. clean: @@ -313,7 +313,7 @@ gone: $(silent)$(RM) -rf $(BUILDDIR)/ $(call compiled,$(recursivefiles) $(compilablefiles)) # Install the compiled files into `DESTDIR´. -install: $(call installed,$(recursivefiles) $(compilablefiles) $(assetfiles)) ; +install: $(call installed,$(recursivefiles) $(compilablefiles) $(filter $(sourcefiles),$(assetfiles))) ; # List all source files and includes and their computed types. list: