Fossil SCM
Create a placeholder manifest.descr file via auto.def, analog to [a198cde661ca].
Commit
56614cb6a91bb4bada95bd34bac15b67bc532241d1ae204e9c7d420ff793020c
Parent
6bdb2fbe99fccf7…
1 file changed
+14
-1
M
auto.def
+14
-1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -754,16 +754,29 @@ | ||
| 754 | 754 | # Linux can only infer the dependency on pthread from OpenSSL when |
| 755 | 755 | # doing dynamic linkage. |
| 756 | 756 | define-append LIBS -lpthread |
| 757 | 757 | } |
| 758 | 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... | |
| 759 | 773 | if {[get-define EMSDK_HOME] ne ""} { |
| 760 | 774 | define EMCC_WRAPPER $::autosetup(dir)/../tools/emcc.sh |
| 761 | 775 | make-template tools/emcc.sh.in |
| 762 | 776 | catch {exec chmod u+x tools/emcc.sh} |
| 763 | 777 | } else { |
| 764 | 778 | define EMCC_WRAPPER "" |
| 765 | 779 | catch {exec rm -f tools/emcc.sh} |
| 766 | 780 | } |
| 767 | - | |
| 768 | 781 | make-template Makefile.in |
| 769 | 782 | make-config-header autoconfig.h -auto {USE_* FOSSIL_*} |
| 770 | 783 |
| --- 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 |