summaryrefslogtreecommitdiff
path: root/applets/fish
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-06-28 15:18:47 +0200
committerColomban Wendling <[email protected]>2023-06-28 15:18:47 +0200
commit54786e2663840035f61840205735e16c0dbe5214 (patch)
treedb4dd1163b7bbfde5a403071eed7035cf6c34372 /applets/fish
parente61dad01e852d7913f4c9b3dae508088e3e7b287 (diff)
downloadmate-panel-54786e2663840035f61840205735e16c0dbe5214.tar.bz2
mate-panel-54786e2663840035f61840205735e16c0dbe5214.tar.xz
Fix distribution of applet service files
Fix distribution of the applet service files sources when building from an in-process-configured build. This fixes `make distcheck` and tarballs in builds configured with `--with-in-process-applets=all` (or actually any in-process applet). The issue was that the .service.in file was referenced indirectly in EXTRA_DIST, and the variable listed there was only filled in a conditional. Automake is not able to resolve this and see it still should distribute the reference of that variable, even if set conditionally. Fix this by always setting the variable properly, even if it's only used for out-of-process builds.
Diffstat (limited to 'applets/fish')
-rw-r--r--applets/fish/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/fish/Makefile.am b/applets/fish/Makefile.am
index 814d5d8c..604983a3 100644
--- a/applets/fish/Makefile.am
+++ b/applets/fish/Makefile.am
@@ -53,9 +53,9 @@ $(applet_in_files): $(applet_in_files).in Makefile
$(applet_DATA): $(applet_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+service_in_files = org.mate.panel.applet.FishAppletFactory.service.in
if !FISH_INPROCESS
servicedir = $(datadir)/dbus-1/services
-service_in_files = org.mate.panel.applet.FishAppletFactory.service.in
service_DATA = $(service_in_files:.service.in=.service)
org.mate.panel.applet.FishAppletFactory.service: $(service_in_files)