From d113fc94c4e2380f3c3332d373e0bf5513f0f72a Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sun, 19 May 2024 17:24:11 +0100 Subject: [PATCH] wmclockmon: update autotools files Define the DATADIR macro and make sure that the auxiliary programs wmclockmon-cal and wmclockmon-config are built properly. --- wmclockmon/src/Makefile.am | 2 ++ wmclockmon/wmclockmon-cal/Makefile.am | 2 +- wmclockmon/wmclockmon-config/Makefile.am | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wmclockmon/src/Makefile.am b/wmclockmon/src/Makefile.am index 4994aac..ca8744d 100644 --- a/wmclockmon/src/Makefile.am +++ b/wmclockmon/src/Makefile.am @@ -15,6 +15,8 @@ wmclockmon_SOURCES = \ CPPFLAGS = @CPPFLAGS@ @DFLAGS@ +AM_CPPFLAGS = -DDATADIR="\"$(pkgdatadir)\"" + INCLUDES = @HEADER_SEARCH_PATH@ wmclockmon_LDADD = @LIBRARY_SEARCH_PATH@ @XLIBS@ diff --git a/wmclockmon/wmclockmon-cal/Makefile.am b/wmclockmon/wmclockmon-cal/Makefile.am index 697daa4..6f20aae 100644 --- a/wmclockmon/wmclockmon-cal/Makefile.am +++ b/wmclockmon/wmclockmon-cal/Makefile.am @@ -1,6 +1,6 @@ bin_PROGRAMS = wmclockmon-cal -wmclockmon_SOURCES = \ +wmclockmon_cal_SOURCES = \ defines.h \ main.c \ main.h \ diff --git a/wmclockmon/wmclockmon-config/Makefile.am b/wmclockmon/wmclockmon-config/Makefile.am index 82328ac..08ec3ca 100644 --- a/wmclockmon/wmclockmon-config/Makefile.am +++ b/wmclockmon/wmclockmon-config/Makefile.am @@ -1,6 +1,6 @@ -bin_PROGRAMS = wmclockmon +bin_PROGRAMS = wmclockmon-config -wmclockmon_SOURCES = \ +wmclockmon_config_SOURCES = \ actions.c \ actions.h \ configfile.h \ -- 2.11.4.GIT