[gitg] use _HEADERS for headers in Makefile.am



commit bd67a2632408e110751e357b5c79c785013606d5
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jul 6 00:02:55 2013 +0200

    use _HEADERS for headers in Makefile.am

 libgitg-ext/Makefile.am |    5 +----
 libgitg/Makefile.am     |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/libgitg-ext/Makefile.am b/libgitg-ext/Makefile.am
index eb869d7..7b437a0 100644
--- a/libgitg-ext/Makefile.am
+++ b/libgitg-ext/Makefile.am
@@ -34,9 +34,6 @@ libgitg_ext_1_0_la_LDFLAGS = \
 
 libgitg_ext_1_0_la_LIBADD = $(LIBGITG_EXT_LIBS)
 
-INST_H_FILES =                         \
-       libgitg-ext.h
-
 VALA_FILES =                                   \
        gitg-ext-assembly-info.vala             \
        gitg-ext-application.vala               \
@@ -56,7 +53,7 @@ libgitg_ext_1_0_la_SOURCES =          \
        gitg-ext-resources.c
 
 headerdir = $(prefix)/include/libgitg-ext-1.0/libgitg-ext
-header_DATA = $(INST_H_FILES)
+header_DATA = libgitg-ext.h
 
 vapidir = $(prefix)/share/vala/vapi
 vapi_DATA = libgitg-ext-1.0.vapi
diff --git a/libgitg/Makefile.am b/libgitg/Makefile.am
index 9dc08c1..3ff58f7 100644
--- a/libgitg/Makefile.am
+++ b/libgitg/Makefile.am
@@ -16,9 +16,6 @@ libgitg_1_0_la_LDFLAGS =              \
 
 libgitg_1_0_la_LIBADD = $(LIBGITG_LIBS)
 
-INST_H_FILES =                         \
-       libgitg.h
-
 AM_VALAFLAGS =                                 \
        --pkg Ggit-1.0                  \
        --pkg gtk+-3.0                  \
@@ -79,7 +76,7 @@ libgitg_1_0_la_SOURCES =              \
        $(VALA_FILES)
 
 headerdir = $(prefix)/include/libgitg-1.0/libgitg
-header_DATA = $(INST_H_FILES)
+header_HEADERS = libgitg.h
 
 vapidir = $(prefix)/share/vala/vapi
 vapi_DATA = libgitg-1.0.vapi



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