]> Lady’s Gitweb - Shushe/commitdiff
Don’t try to install asset includes
authorLady <redacted>
Sat, 6 Jan 2024 03:23:38 +0000 (22:23 -0500)
committerLady <redacted>
Sat, 6 Jan 2024 03:23:38 +0000 (22:23 -0500)
GNUmakefile

index d1a7f6ec0eff1a6f33d4f118244b3330ba9f133a..ea676dc3c4bfbd76257c069f824a2ffbcddf1324 100644 (file)
@@ -302,7 +302,7 @@ help:
        $(silent)$(PRINTF) '%b' '$(subst $(newline),\n,$(makefileinfo))'
 
 # Compile all files, or error if any are recursive.
        $(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:
 
 # Destroy buildfiles.
 clean:
@@ -313,7 +313,7 @@ gone:
        $(silent)$(RM) -rf $(BUILDDIR)/ $(call compiled,$(recursivefiles) $(compilablefiles))
 
 # Install the compiled files into `DESTDIR´.
        $(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:
 
 # List all source files and includes and their computed types.
 list:
This page took 0.024489 seconds and 4 git commands to generate.