Move git submodules to a subdirectory

This commit is contained in:
Přemysl Eric Janouch 2023-06-04 12:57:24 +02:00
parent dd1d6647dc
commit 1c61fcc5bc
Signed by: p
GPG Key ID: A0420B94F92B9493
5 changed files with 5 additions and 4 deletions

4
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "wuffs-mirror-release-c"] [submodule "wuffs-mirror-release-c"]
path = wuffs-mirror-release-c path = submodules/wuffs-mirror-release-c
url = https://github.com/google/wuffs-mirror-release-c url = https://github.com/google/wuffs-mirror-release-c
[submodule "liberty"] [submodule "liberty"]
path = liberty path = submodules/liberty
url = https://git.janouch.name/p/liberty.git url = https://git.janouch.name/p/liberty.git

View File

@ -84,7 +84,7 @@
#define WUFFS_CONFIG__MODULE__PNG #define WUFFS_CONFIG__MODULE__PNG
#define WUFFS_CONFIG__MODULE__TGA #define WUFFS_CONFIG__MODULE__TGA
#define WUFFS_CONFIG__MODULE__ZLIB #define WUFFS_CONFIG__MODULE__ZLIB
#include "wuffs-mirror-release-c/release/c/wuffs-v0.3.c" #include "submodules/wuffs-mirror-release-c/release/c/wuffs-v0.3.c"
#include "fiv-io.h" #include "fiv-io.h"

View File

@ -236,7 +236,8 @@ if not win32
else else
command = ['env', 'LC_ALL=C', command = ['env', 'LC_ALL=C',
'asciidoc-release-version=' + meson.project_version(), 'asciidoc-release-version=' + meson.project_version(),
'awk', '-f', files('liberty/tools/asciiman.awk'), '@INPUT@'] 'awk', '-f', files('submodules/liberty/tools/asciiman.awk'),
'@INPUT@']
man_capture = true man_capture = true
endif endif
custom_target('manpage for ' + page, custom_target('manpage for ' + page,