[gcab] trivial: Move the gcab main executable to src/



commit bf0148526f3249b43014249b92d625a592cb4c07
Author: Richard Hughes <richard hughsie com>
Date:   Thu Dec 14 11:20:10 2017 +0000

    trivial: Move the gcab main executable to src/
    
    This unclutters the project root and also allows us to move other assets
    required by the tool (e.g. the man page) to one place.

 Makefile.am                |    4 ++--
 configure.ac               |    4 ++--
 gcab.1.in => src/gcab.1.in |    0
 gcab.c => src/gcab.c       |    0
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b3a1a5b..831b242 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -68,12 +68,12 @@ endif
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libgcab/libgcab-1.0.pc
 
-man1_MANS = gcab.1
+man1_MANS = src/gcab.1
 
 bin_PROGRAMS = gcab
 
 gcab_SOURCES =                                 \
-       gcab.c                                  \
+       src/gcab.c                              \
        $(NULL)
 gcab_LDADD =                                    \
        $(GLIB_LIBS)                            \
diff --git a/configure.ac b/configure.ac
index 0b9fa7b..2985b85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
 AC_PREREQ(2.57)
 AC_INIT([gcab], [1.0],
         [https://bugzilla.gnome.org/enter_bug.cgi?product=msitools&component=gcab])
-AC_CONFIG_SRCDIR([gcab.c])
+AC_CONFIG_SRCDIR([src])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -66,7 +66,7 @@ AC_OUTPUT([
   docs/Makefile
   docs/reference/Makefile
   docs/reference/gcab-docs.sgml
-  gcab.1
+  src/gcab.1
   libgcab/libgcab-1.0.pc
   libgcab/Makefile
   po/Makefile.in
diff --git a/gcab.1.in b/src/gcab.1.in
similarity index 100%
rename from gcab.1.in
rename to src/gcab.1.in
diff --git a/gcab.c b/src/gcab.c
similarity index 100%
rename from gcab.c
rename to src/gcab.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]