From 839b5b63e0b5d7e4c85a6303a79ed7bdabe83ee0 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 3 Nov 2021 01:17:15 +0200 Subject: [PATCH 8/8] Move fc_cmdhelp.[ch] to utility/ See osdn #42878 Signed-off-by: Marko Lindqvist --- common/Makefile.am | 2 -- meson.build | 2 +- utility/Makefile.am | 2 ++ {common => utility}/fc_cmdhelp.c | 0 {common => utility}/fc_cmdhelp.h | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename {common => utility}/fc_cmdhelp.c (100%) rename {common => utility}/fc_cmdhelp.h (100%) diff --git a/common/Makefile.am b/common/Makefile.am index 9bfcd8f6fc..834900d53c 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -53,8 +53,6 @@ libfreeciv_la_SOURCES = \ extras.h \ featured_text.c \ featured_text.h \ - fc_cmdhelp.c \ - fc_cmdhelp.h \ fc_interface.c \ fc_interface.h \ fc_types.h \ diff --git a/meson.build b/meson.build index 6d63a4465c..07da1072b8 100644 --- a/meson.build +++ b/meson.build @@ -497,6 +497,7 @@ common_lib = library('freeciv', 'utility/deprecations.c', 'utility/distribute.c', 'utility/fcbacktrace.c', + 'utility/fc_cmdhelp.c', 'utility/fc_cmdline.c', 'utility/fc_dirent.c', 'utility/fciconv.c', @@ -563,7 +564,6 @@ common_lib = library('freeciv', 'common/effects.c', 'common/events.c', 'common/extras.c', - 'common/fc_cmdhelp.c', 'common/fc_interface.c', 'common/featured_text.c', 'common/game.c', diff --git a/utility/Makefile.am b/utility/Makefile.am index b7657015d2..6cb4d47c5d 100644 --- a/utility/Makefile.am +++ b/utility/Makefile.am @@ -19,6 +19,8 @@ libcivutility_la_SOURCES = \ deprecations.h \ distribute.c \ distribute.h \ + fc_cmdhelp.c \ + fc_cmdhelp.h \ fc_cmdline.c \ fc_cmdline.h \ fc_dirent.c \ diff --git a/common/fc_cmdhelp.c b/utility/fc_cmdhelp.c similarity index 100% rename from common/fc_cmdhelp.c rename to utility/fc_cmdhelp.c diff --git a/common/fc_cmdhelp.h b/utility/fc_cmdhelp.h similarity index 100% rename from common/fc_cmdhelp.h rename to utility/fc_cmdhelp.h -- 2.30.2