[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/01: Some autoconf changes, less warning when running autogen.sh

noreply at xfce.org noreply at xfce.org
Tue May 13 22:25:38 CEST 2014


This is an automated email from the git hooks/post-receive script.

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.

commit 7b569545a388c7dcd2b12e12cd2274f13ea95b31
Author: Fabian <timystery at arcor.de>
Date:   Tue May 13 22:19:44 2014 +0200

    Some autoconf changes, less warning when running autogen.sh
---
 configure.in.in => configure.ac.in |    4 +++-
 lib/Makefile.am                    |    3 +--
 panel-plugin/Makefile.am           |    3 +--
 src/Makefile.am                    |    3 +--
 4 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/configure.in.in b/configure.ac.in
similarity index 99%
rename from configure.in.in
rename to configure.ac.in
index dc32c87..c365b81 100644
--- a/configure.in.in
+++ b/configure.ac.in
@@ -23,8 +23,10 @@ AC_PREREQ([2.50])
 AC_CANONICAL_TARGET()
 
 PLUGIN_VERSION=xfce4_sensors_version()
-AM_INIT_AUTOMAKE([AC_PACKAGE_TARNAME], [AC_PACKAGE_VERSION])
+AM_INIT_AUTOMAKE
 AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_SRCDIR([src/main.c])
 AM_MAINTAINER_MODE
 
 dnl Check for UNIX variants
diff --git a/lib/Makefile.am b/lib/Makefile.am
index eeb9926..da2a69a 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES =														  	\
+AM_CPPFLAGS =														  	\
 	-I$(top_srcdir)/include
 
 plugindir = $(libdir)/xfce4/modules
@@ -88,4 +88,3 @@ DISTCLEANFILES =
 ##
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libxfce4sensors-1.0.pc
-
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index d880d7f..98bad25 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -1,7 +1,7 @@
 plugindir = $(libexecdir)/xfce4/panel-plugins
 plugin_PROGRAMS = xfce4-sensors-plugin
 
-INCLUDES = 			\
+AM_CPPFLAGS = 			\
 	-I$(top_srcdir)/include 	\
 	-I$(top_srcdir)/lib
 
@@ -48,4 +48,3 @@ DISTCLEANFILES =													 \
 %.desktop.in: %.desktop.in.in
 	sed -e "s^@PLUGIN_PATH@^$(libexecdir)/xfce4/panel-plugins^" \
 		$< > $@
-
diff --git a/src/Makefile.am b/src/Makefile.am
index e259fe1..30b99a0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 # $Id$
 
-INCLUDES = \
+AM_CPPFLAGS = \
 	-I$(top_srcdir)/include	\
 	-I$(top_srcdir)/lib
 
@@ -71,4 +71,3 @@ DISTCLEANFILES = \
 #%.desktop.in: %.desktop.in.in
 #	sed -e "s^@PLUGIN_PATH@^$(libexecdir)/xfce4/panel-plugins^" \
 #		$< > $@
-

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list