]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Resolve the "No rule to make target '0'" error when building with --disable-tcl.
authorstephan <stephan@noemail.net>
Fri, 6 Sep 2024 15:01:00 +0000 (15:01 +0000)
committerstephan <stephan@noemail.net>
Fri, 6 Sep 2024 15:01:00 +0000 (15:01 +0000)
FossilOrigin-Name: d94541ae76b5d8b69f5524f10dcccc0814283f438a03f553848ed631a1983633

Makefile.in
manifest
manifest.uuid

index cc75000033bc3220590e00b653bd6862bba68960..9036babcb2a8c8b1a32061baf30bdbf6b8c345bd 100644 (file)
@@ -661,11 +661,16 @@ SQLITE3_SHELL_TARGET_  = sqlite3$(TEXE)
 SQLITE3_SHELL_TARGET_1 =
 SQLITE3_SHELL_TARGET   = $(SQLITE3_SHELL_TARGET_@HAVE_WASI_SDK@)
 
+# Use $(libtclsqlite3.la_$(HAVE_TCL)) to resolve to either
+# libtclsqlite3.la or an empty value.
+libtclsqlite3.la_0 =
+libtclsqlite3.la_1 = libtclsqlite3.la
+
 # This is the default Makefile target.  The objects listed here
 # are what get build when you type just "make" with no arguments.
 #
 all:   sqlite3.h libsqlite3.la $(SQLITE3_SHELL_TARGET) \
-  $(HAVE_TCL:1=libtclsqlite3.la)
+  $(libtclsqlite3.la_$(HAVE_TCL))
 
 Makefile: $(TOP)/Makefile.in
        ./config.status
@@ -1566,7 +1571,12 @@ lib_install:     libsqlite3.la
        $(INSTALL) -d $(DESTDIR)$(libdir)
        $(LTINSTALL) libsqlite3.la $(DESTDIR)$(libdir)
 
-install:       sqlite3$(TEXE) lib_install sqlite3.h sqlite3.pc ${HAVE_TCL:1=tcl_install}
+# Use $(tcl_install_$(HAVE_TCL)) to resolve to either tcl_install or
+# an empty value.
+tcl_install_0 =
+tcl_install_1 = tcl_install
+
+install:       sqlite3$(TEXE) lib_install sqlite3.h sqlite3.pc $(tcl_install_$(HAVE_TCL))
        $(INSTALL) -d $(DESTDIR)$(bindir)
        $(LTINSTALL) sqlite3$(TEXE) $(DESTDIR)$(bindir)
        $(INSTALL) -d $(DESTDIR)$(includedir)
index b721afee72520910223257751313569b0067a7bc..9e6ae9fd87361e8ddcfea7e9df598a0ab971a5dd 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,9 +1,9 @@
-C Fix\sa\sharmless\sstray\scarriage-return\scharacter.
-D 2024-09-06T14:01:48.949
+C Resolve\sthe\s"No\srule\sto\smake\starget\s'0'"\serror\swhen\sbuilding\swith\s--disable-tcl.
+D 2024-09-06T15:01:00.761
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
-F Makefile.in 098d9814c66d81a8bbfb3550876b7d9695a0b050c0d4680afb4931a7aa8fe7f1
+F Makefile.in c41539ec7e8e69091e74c7d9e011115ae5e81d1f53829e640d299f3a754f94a4
 F Makefile.linux-gcc f3842a0b1efbfbb74ac0ef60e56b301836d05b4d867d014f714fa750048f1ab6
 F Makefile.msc e72a4653ea8f48efd14c7dac1e7de308a1f3cc91f905f15cbcacc680301c8f03
 F README.md c3c0f19532ce28f6297a71870f3c7b424729f0e6d9ab889616d3587dd2332159
@@ -2212,8 +2212,8 @@ F vsixtest/vsixtest.tcl 6195aba1f12a5e10efc2b8c0009532167be5e301abe5b31385638080
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P ec75cfc5d4b69e4aed64d17748cac15cd62a759a1cbe7feaa4580ad8346b0b95
-R fff388cd7307c5b0da6a2a2532ba0d3f
-U drh
-Z 8d9185ba5e8e9cd8d975e704cf12a0ed
+P 84a6c5f975de36ba93b888e01cc5188717b5644ab8384beb8fd8906bdfc8e227
+R b7c82ea9b1442aabb45d735bf528bcb3
+U stephan
+Z 5b4290c809ba1bac71c5f3f2e0536ccb
 # Remove this line to create a well-formed Fossil manifest.
index 104d10f3e61b631a9239e0db3ab6b2ceb6304bc9..e5b5999a3ec960c8a6cb772d27e8a3771091d1dd 100644 (file)
@@ -1 +1 @@
-84a6c5f975de36ba93b888e01cc5188717b5644ab8384beb8fd8906bdfc8e227
+d94541ae76b5d8b69f5524f10dcccc0814283f438a03f553848ed631a1983633