From 76ee64b5b3e30706181becbf33cc45d67f39f364 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Mon, 6 Jul 2020 20:57:33 +0200 Subject: Add some license information and the beginning of Debian packages --- minecctl/mc-commands.c | 1 + minecctl/mc-commands.h | 1 + minecctl/meson.build | 4 +++- minecctl/minecctl-commands.h | 1 + minecctl/minecctl.c | 1 + minecctl/minecctl.h | 1 + minecctl/misc-commands.c | 1 + minecctl/misc-commands.h | 1 + minecctl/misc.c | 1 + minecctl/misc.h | 1 + minecctl/rcon-commands.c | 4 ++-- minecctl/rcon-commands.h | 1 + minecctl/server.c | 1 + minecctl/server.h | 1 + 14 files changed, 17 insertions(+), 3 deletions(-) (limited to 'minecctl') diff --git a/minecctl/mc-commands.c b/minecctl/mc-commands.c index 49fea30..133bfc0 100644 --- a/minecctl/mc-commands.c +++ b/minecctl/mc-commands.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include "shared/utils.h" diff --git a/minecctl/mc-commands.h b/minecctl/mc-commands.h index 3140a73..c6e2e6f 100644 --- a/minecctl/mc-commands.h +++ b/minecctl/mc-commands.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foomccommandshfoo #define foomccomanndshfoo diff --git a/minecctl/meson.build b/minecctl/meson.build index 7a41203..a4a1620 100644 --- a/minecctl/meson.build +++ b/minecctl/meson.build @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 minecctl_sources = [ 'minecctl.c', 'server.c', @@ -7,7 +8,7 @@ minecctl_sources = [ 'misc.c', ] -dep_readline = dependency('readline') +dep_readline = dependency('libedit') minecctl_deps = [ dep_libshared, @@ -19,5 +20,6 @@ executable( minecctl_sources, link_args: [ '-lanl' ], dependencies: minecctl_deps, + install: true, ) diff --git a/minecctl/minecctl-commands.h b/minecctl/minecctl-commands.h index b1729f0..b946271 100644 --- a/minecctl/minecctl-commands.h +++ b/minecctl/minecctl-commands.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foominecctlcommandshfoo #define foominecctlcommandshfoo diff --git a/minecctl/minecctl.c b/minecctl/minecctl.c index dd4e9e8..a12d3ce 100644 --- a/minecctl/minecctl.c +++ b/minecctl/minecctl.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h index 5025cc4..14243c6 100644 --- a/minecctl/minecctl.h +++ b/minecctl/minecctl.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foominecctlhfoo #define foominecctlhfoo diff --git a/minecctl/misc-commands.c b/minecctl/misc-commands.c index a880e15..f89afb6 100644 --- a/minecctl/misc-commands.c +++ b/minecctl/misc-commands.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include "shared/utils.h" #include "minecctl.h" #include "server.h" diff --git a/minecctl/misc-commands.h b/minecctl/misc-commands.h index eb03fd9..8ea4127 100644 --- a/minecctl/misc-commands.h +++ b/minecctl/misc-commands.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foomisccommandshfoo #define foomisccommandshfoo diff --git a/minecctl/misc.c b/minecctl/misc.c index 143b0cc..525b09a 100644 --- a/minecctl/misc.c +++ b/minecctl/misc.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/minecctl/misc.h b/minecctl/misc.h index c91271d..3182ef8 100644 --- a/minecctl/misc.h +++ b/minecctl/misc.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foomischfoo #define foomischfoo diff --git a/minecctl/rcon-commands.c b/minecctl/rcon-commands.c index 5e4ea08..f18f082 100644 --- a/minecctl/rcon-commands.c +++ b/minecctl/rcon-commands.c @@ -1,9 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include #include -#include -#include +#include #include #include #include diff --git a/minecctl/rcon-commands.h b/minecctl/rcon-commands.h index c77e6fe..b2720b4 100644 --- a/minecctl/rcon-commands.h +++ b/minecctl/rcon-commands.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef foorconcommandshfoo #define foorconcommandshfoo diff --git a/minecctl/server.c b/minecctl/server.c index e7d9e7b..fb59d35 100644 --- a/minecctl/server.c +++ b/minecctl/server.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include #include #include diff --git a/minecctl/server.h b/minecctl/server.h index 2bfb3e8..ace1943 100644 --- a/minecctl/server.h +++ b/minecctl/server.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef fooserverhfoo #define fooserverhfoo -- cgit v1.2.3