diff options
author | Thomas Haller <thaller@redhat.com> | 2021-02-03 15:25:56 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-02-03 17:05:36 +0100 |
commit | bb104424ccfbd19e1b5878f50c552cdc50c60fa9 (patch) | |
tree | ef0445da3fd804e6cc5ee1e9c48a352dd348df1f /autogen.sh | |
parent | 97ed143e04e74323a59a0f24a965d36341233670 (diff) | |
download | NetworkManager-th/move-src-core-dir.tar.gz |
all: move "src/" directory to "src/core/"th/move-src-core-dir
Currently "src/" mostly contains the source code of the daemon.
I say mostly, because that is not true, there are also the device,
settings, wwan, ppp plugin and the initrd generator.
Also we have source code under libnm-core, libnm, clients, and shared
directories. That is all confusing.
We should have one "src" directory, that contains subdirectories. Those
subdirectories should contain individual parts (libraries or
applications), that possibly have dependencies on other subdirectories.
As the name "src/" is already taken, that prevents any sensible
restructuring of the code.
As a first step, move "src/" to "src/core/". This gives space to
reorganize the code better by moving individual components into "src/".
For inspiration, look at systemd's "src/" directory.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index ca9253f1b4..8809806178 100755 --- a/autogen.sh +++ b/autogen.sh @@ -14,7 +14,7 @@ REQUIRED_AUTOMAKE_VERSION=1.9 PKG_NAME=NetworkManager (test -f $srcdir/configure.ac \ - && test -f $srcdir/src/main.c) || { + && test -f $srcdir/src/core/main.c) || { printf "**Error**: Directory "\`$srcdir\'" does not look like the" >&2 echo " top-level $PKG_NAME directory" >&2 exit 1 |