[gcab] trivial: Move the .pc and the .syms files to the library location



commit a6f6f07933b4cbb16b185c20e40f11af6f74a647
Author: Richard Hughes <richard hughsie com>
Date:   Thu Dec 14 11:16:33 2017 +0000

    trivial: Move the .pc and the .syms files to the library location
    
    The main header file, the pkgconfig file and symbol list describe the library,
    not the project.

 Makefile.am                                    |   12 ++++++------
 configure.ac                                   |    2 +-
 libgcab-1.0.pc.in => libgcab/libgcab-1.0.pc.in |    0
 libgcab.h => libgcab/libgcab.h                 |    0
 libgcab.syms => libgcab/libgcab.syms           |    0
 5 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ba8c94d..b3a1a5b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ AM_CPPFLAGS =                                 \
 
 libgcab_includedir = $(includedir)/libgcab-1.0
 libgcab_priv_includedir = $(libgcab_includedir)/libgcab
-libgcab_include_HEADERS = libgcab.h
+libgcab_include_HEADERS = libgcab/libgcab.h
 libgcab_priv_include_HEADERS =                 \
        libgcab/gcab-cabinet.h                  \
        libgcab/gcab-enums.h                    \
@@ -58,15 +58,15 @@ libgcab_1_0_la_LDFLAGS =                            \
        -version-info 0:0:0                             \
        -no-undefined                                   \
        $(NULL)
-libgcab_1_0_la_DEPENDENCIES = libgcab.syms
+libgcab_1_0_la_DEPENDENCIES = libgcab/libgcab.syms
 libgcab/gcab-priv.h: libgcab/gcab-enums.h
 
 if HAVE_VSCRIPT
-libgcab_1_0_la_LDFLAGS += $(VSCRIPT_LDFLAGS),${srcdir}/libgcab.syms
+libgcab_1_0_la_LDFLAGS += $(VSCRIPT_LDFLAGS),${srcdir}/libgcab/libgcab.syms
 endif
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libgcab-1.0.pc
+pkgconfig_DATA = libgcab/libgcab-1.0.pc
 
 man1_MANS = gcab.1
 
@@ -97,7 +97,7 @@ $(GCAB_ENUMS): %: %.etemplate $(ENUMS_FILES)
 
 EXTRA_DIST =                                   \
        gcab.doap                               \
-       libgcab.syms                            \
+       libgcab/libgcab.syms                    \
        $(BUILT_SOURCES)                        \
        libgcab/gcab-enums.c.etemplate          \
        libgcab/gcab-enums.h.etemplate          \
@@ -116,7 +116,7 @@ GCab_1_0_gir_CFLAGS = $(AM_CPPFLAGS)
 GCab_1_0_gir_INCLUDES = GObject-2.0 GLib-2.0 Gio-2.0
 GCab_1_0_gir_LIBS = libgcab-1.0.la
 GCab_1_0_gir_FILES =                           \
-       $(top_srcdir)/libgcab.h                 \
+       $(top_srcdir)/libgcab/libgcab.h         \
        $(top_srcdir)/libgcab/gcab-cabinet.h    \
        $(top_builddir)/libgcab/gcab-enums.h    \
        $(top_srcdir)/libgcab/gcab-file.h       \
diff --git a/configure.ac b/configure.ac
index f409d85..0b9fa7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ AC_OUTPUT([
   docs/reference/Makefile
   docs/reference/gcab-docs.sgml
   gcab.1
-  libgcab-1.0.pc
+  libgcab/libgcab-1.0.pc
   libgcab/Makefile
   po/Makefile.in
 ])
diff --git a/libgcab-1.0.pc.in b/libgcab/libgcab-1.0.pc.in
similarity index 100%
rename from libgcab-1.0.pc.in
rename to libgcab/libgcab-1.0.pc.in
diff --git a/libgcab.h b/libgcab/libgcab.h
similarity index 100%
rename from libgcab.h
rename to libgcab/libgcab.h
diff --git a/libgcab.syms b/libgcab/libgcab.syms
similarity index 100%
rename from libgcab.syms
rename to libgcab/libgcab.syms


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