Fossil SCM

Create a placeholder manifest.descr file via auto.def, analog to [a198cde661ca].

stephan 2022-06-17 10:57 version-cmd-describe
Commit 56614cb6a91bb4bada95bd34bac15b67bc532241d1ae204e9c7d420ff793020c
1 file changed +14 -1
+14 -1
--- auto.def
+++ auto.def
@@ -754,16 +754,29 @@
754754
# Linux can only infer the dependency on pthread from OpenSSL when
755755
# doing dynamic linkage.
756756
define-append LIBS -lpthread
757757
}
758758
759
+# If manifest.descr does not exist, create one. It's needed by the
760
+# build process. It will normally be updated by way of the
761
+# repository's `manifest` setting, but this file is a new (2022-06)
762
+# part of that setting so we need to create a dummy placeholder as a
763
+# transitionary step. We can remove this after the manifest.descr
764
+# support has been around for a few versions.
765
+if {![file exists manifest.descr]} {
766
+ msg-result "Creating dummy manifest.descr as transitionary step."
767
+ set fid [open manifest.descr w]
768
+ puts $fid "Placeholder manifest.descr. Will be udpated by fossil."
769
+ close $fid
770
+}
771
+
772
+# Create or remove tools/emcc.sh...
759773
if {[get-define EMSDK_HOME] ne ""} {
760774
define EMCC_WRAPPER $::autosetup(dir)/../tools/emcc.sh
761775
make-template tools/emcc.sh.in
762776
catch {exec chmod u+x tools/emcc.sh}
763777
} else {
764778
define EMCC_WRAPPER ""
765779
catch {exec rm -f tools/emcc.sh}
766780
}
767
-
768781
make-template Makefile.in
769782
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
770783
--- auto.def
+++ auto.def
@@ -754,16 +754,29 @@
754 # Linux can only infer the dependency on pthread from OpenSSL when
755 # doing dynamic linkage.
756 define-append LIBS -lpthread
757 }
758
 
 
 
 
 
 
 
 
 
 
 
 
 
 
759 if {[get-define EMSDK_HOME] ne ""} {
760 define EMCC_WRAPPER $::autosetup(dir)/../tools/emcc.sh
761 make-template tools/emcc.sh.in
762 catch {exec chmod u+x tools/emcc.sh}
763 } else {
764 define EMCC_WRAPPER ""
765 catch {exec rm -f tools/emcc.sh}
766 }
767
768 make-template Makefile.in
769 make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
770
--- auto.def
+++ auto.def
@@ -754,16 +754,29 @@
754 # Linux can only infer the dependency on pthread from OpenSSL when
755 # doing dynamic linkage.
756 define-append LIBS -lpthread
757 }
758
759 # If manifest.descr does not exist, create one. It's needed by the
760 # build process. It will normally be updated by way of the
761 # repository's `manifest` setting, but this file is a new (2022-06)
762 # part of that setting so we need to create a dummy placeholder as a
763 # transitionary step. We can remove this after the manifest.descr
764 # support has been around for a few versions.
765 if {![file exists manifest.descr]} {
766 msg-result "Creating dummy manifest.descr as transitionary step."
767 set fid [open manifest.descr w]
768 puts $fid "Placeholder manifest.descr. Will be udpated by fossil."
769 close $fid
770 }
771
772 # Create or remove tools/emcc.sh...
773 if {[get-define EMSDK_HOME] ne ""} {
774 define EMCC_WRAPPER $::autosetup(dir)/../tools/emcc.sh
775 make-template tools/emcc.sh.in
776 catch {exec chmod u+x tools/emcc.sh}
777 } else {
778 define EMCC_WRAPPER ""
779 catch {exec rm -f tools/emcc.sh}
780 }
 
781 make-template Makefile.in
782 make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
783

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button