X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=src%2FMakefile.am;h=c3a496af87ceecdc8f4b944fc2bf9ce07a8a4a72;hp=f4849168039d50801a544d51f7b9e88315863839;hb=4c01ba89aac969b4c19190dd8f27329b5dd24a6e;hpb=2e68c12dc10ca8c06b03aad6b4e44144a9134cd5 diff --git a/src/Makefile.am b/src/Makefile.am index f484916..c3a496a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,12 +9,13 @@ SUBDIRS += server endif endif -# -no-deprecated-declarations to avoid some glib deprecation warnings -AM_CPPFLAGS = -Wno-deprecated-declarations -Wall -Werror -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\ +AM_CPPFLAGS =-Wall -Werror \ + -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\ + -DDATADIR=\""$(datadir)"\"\ + -DPSENSOR_DESKTOP_FILE=\""psensor.desktop"\"\ -I$(top_srcdir)/src/lib \ -I$(top_srcdir)/src/unity \ $(GTK_CFLAGS)\ - $(GCONF_CFLAGS)\ $(SENSORS_CFLAGS) DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ @@ -22,20 +23,17 @@ DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ LIBS = \ lib/libpsensor.a \ $(GTK_LIBS)\ - $(GCONF_LIBS)\ $(PTHREAD_LIBS)\ $(SENSORS_LIBS) if GTK if X11 if XEXT -if GCONF bin_PROGRAMS = psensor dist_man_MANS = psensor.1 endif endif endif -endif psensor_SOURCES = \ cfg.h cfg.c \ @@ -49,7 +47,8 @@ psensor_SOURCES = \ ui_pref.h ui_pref.c \ ui_sensorlist.h ui_sensorlist.c \ ui_sensorpref.h ui_sensorpref.c \ - ui_status.h ui_status.c + ui_status.h ui_status.c \ + pxdg.h pxdg.c if GTOP AM_CPPFLAGS += $(GTOP_CFLAGS) @@ -101,15 +100,11 @@ endif EXTRA_DIST = description.txt psensor.schemas -if GCONF -schemadir = $(GCONF_SCHEMA_FILE_DIR) -schema_DATA = psensor.schemas - -install-data-local: - GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_srcdir)/src/$(schema_DATA) -endif - psensor.1: main.c $(top_srcdir)/configure.ac $(MAKE) $(AM_MAKEFLAGS) psensor$(EXEEXT) help2man --include=description.txt -N --name="Temperature monitoring application" --output=psensor.1 ./psensor$(EXEEXT) +gsettings_SCHEMAS=psensor.gschema.xml +EXTRA_DIST=$(gsettings_SCHEMAS) + +@GSETTINGS_RULES@