[gnome-autoar] general: use library name for the main header



commit 1360e3f886737258a1ac69b0594790e1f20f0b45
Author: Razvan Chitu <razvan ch95 gmail com>
Date:   Sat Aug 20 13:33:41 2016 +0300

    general: use library name for the main header
    
    Since other libraries use the library name for their main header file,
    gnome-autoar should do it too.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=768645

 Makefile.am                               |    2 +-
 configure.ac                              |    2 +-
 docs/reference/Makefile.am                |    2 +-
 gnome-autoar/{autoar.h => gnome-autoar.h} |    0
 tests/test-create.c                       |    2 +-
 tests/test-extract-unit.c                 |    2 +-
 tests/test-extract.c                      |    2 +-
 tests/test-ui.c                           |    2 +-
 8 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 2d6b552..3001304 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,7 +61,7 @@ pkgconfig_DATA = gnome-autoar/gnome-autoar.pc
 
 autoarincludedir = $(includedir)/gnome-autoar
 autoarinclude_HEADERS = \
-       gnome-autoar/autoar.h                   \
+       gnome-autoar/gnome-autoar.h             \
        $(libgnome_autoar_la_headers)           \
        $(NULL)
 
diff --git a/configure.ac b/configure.ac
index c87a13a..5730835 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_PREREQ([2.68])
 AC_INIT([gnome-autoar], [0.1], [BUG-REPORT-ADDRESS], [gnome-autoar])
 
 AC_CONFIG_MACRO_DIR([m4])
-AC_CONFIG_SRCDIR([gnome-autoar/autoar.h])
+AC_CONFIG_SRCDIR([gnome-autoar/gnome-autoar.h])
 AC_CONFIG_HEADERS([config.h])
 
 AM_INIT_AUTOMAKE([1.11 foreign dist-xz no-dist-gzip tar-ustar subdir-objects])
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 8667e5d..edd5d0a 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -14,7 +14,7 @@ HFILE_GLOB=$(top_srcdir)/gnome-autoar/*.h
 CFILE_GLOB=$(top_srcdir)/gnome-autoar/*.c
 
 IGNORE_HFILES = \
-       autoar.h \
+       gnome-autoar.h \
        autoar-gtk.h \
        autoar-enum-types.h \
        autoar-private.h \
diff --git a/gnome-autoar/autoar.h b/gnome-autoar/gnome-autoar.h
similarity index 100%
rename from gnome-autoar/autoar.h
rename to gnome-autoar/gnome-autoar.h
diff --git a/tests/test-create.c b/tests/test-create.c
index 9d19ed4..a5bd325 100644
--- a/tests/test-create.c
+++ b/tests/test-create.c
@@ -1,6 +1,6 @@
 /* vim: set sw=2 ts=2 sts=2 et: */
 
-#include <gnome-autoar/autoar.h>
+#include <gnome-autoar/gnome-autoar.h>
 #include <glib.h>
 #include <locale.h>
 #include <stdlib.h>
diff --git a/tests/test-extract-unit.c b/tests/test-extract-unit.c
index ac2ec41..23977b3 100644
--- a/tests/test-extract-unit.c
+++ b/tests/test-extract-unit.c
@@ -1,4 +1,4 @@
-#include <gnome-autoar/autoar.h>
+#include <gnome-autoar/gnome-autoar.h>
 #include <gio/gio.h>
 
 
diff --git a/tests/test-extract.c b/tests/test-extract.c
index d13f06e..eb0dad0 100644
--- a/tests/test-extract.c
+++ b/tests/test-extract.c
@@ -1,6 +1,6 @@
 /* vim: set sw=2 ts=2 sts=2 et: */
 
-#include <gnome-autoar/autoar.h>
+#include <gnome-autoar/gnome-autoar.h>
 #include <gio/gio.h>
 #include <locale.h>
 #include <stdlib.h>
diff --git a/tests/test-ui.c b/tests/test-ui.c
index fd37df0..b61048f 100644
--- a/tests/test-ui.c
+++ b/tests/test-ui.c
@@ -1,6 +1,6 @@
 /* vim: set sw=2 ts=2 sts=2 et: */
 
-#include <gnome-autoar/autoar.h>
+#include <gnome-autoar/gnome-autoar.h>
 #include <gnome-autoar/autoar-gtk.h>
 #include <gtk/gtk.h>
 #include <stdio.h>


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