From 2902141a9fafc9d0fbb21bd8b921e972477f63fb Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 12 Feb 2018 00:42:27 -0600 Subject: [PATCH] build: move cli tool to cli folder --- Makefile.am | 11 ++++++++--- getopt_long.c => cli/getopt_long.c | 0 getopt_long.h => cli/getopt_long.h | 0 main.c => cli/main.c | 0 renderer-msvc.c => cli/renderer-msvc.c | 0 renderer-msvc.h => cli/renderer-msvc.h | 0 6 files changed, 8 insertions(+), 3 deletions(-) rename getopt_long.c => cli/getopt_long.c (100%) rename getopt_long.h => cli/getopt_long.h (100%) rename main.c => cli/main.c (100%) rename renderer-msvc.c => cli/renderer-msvc.c (100%) rename renderer-msvc.h => cli/renderer-msvc.h (100%) diff --git a/Makefile.am b/Makefile.am index 7c3a833..82e2117 100644 --- a/Makefile.am +++ b/Makefile.am @@ -139,9 +139,14 @@ dist_man_MANS = \ man/pc.5 pkgconf_LDADD = libpkgconf.la -pkgconf_SOURCES = main.c getopt_long.c renderer-msvc.c -pkgconf_CPPFLAGS = -Ilibpkgconf -noinst_HEADERS = getopt_long.h renderer-msvc.h +pkgconf_SOURCES = \ + cli/main.c \ + cli/getopt_long.c \ + cli/renderer-msvc.c +pkgconf_CPPFLAGS = -Ilibpkgconf -Icli +noinst_HEADERS = \ + cli/getopt_long.h \ + cli/renderer-msvc.h dist_doc_DATA = README.md AUTHORS diff --git a/getopt_long.c b/cli/getopt_long.c similarity index 100% rename from getopt_long.c rename to cli/getopt_long.c diff --git a/getopt_long.h b/cli/getopt_long.h similarity index 100% rename from getopt_long.h rename to cli/getopt_long.h diff --git a/main.c b/cli/main.c similarity index 100% rename from main.c rename to cli/main.c diff --git a/renderer-msvc.c b/cli/renderer-msvc.c similarity index 100% rename from renderer-msvc.c rename to cli/renderer-msvc.c diff --git a/renderer-msvc.h b/cli/renderer-msvc.h similarity index 100% rename from renderer-msvc.h rename to cli/renderer-msvc.h