diff --git a/contrib/colord-sane/Makefile.am.orig b/contrib/colord-sane/Makefile.am index 6240c53..cc9dbe0 100644 --- a/contrib/colord-sane/Makefile.am.orig +++ b/contrib/colord-sane/Makefile.am @@ -50,6 +50,7 @@ $(dbusservicemain_DATA): $(dbusservicemain_in_files) Makefile sed -e "s|\@daemon_user\@|$(daemon_user)|" > $@ if HAVE_SYSTEMD +if HAVE_SANE systemdservicemaindir = $(systemdsystemunitdir) systemdservicemain_in_files = colord-sane.service.in systemdservicemain_DATA = $(systemdservicemain_in_files:.service.in=.service) @@ -57,6 +58,7 @@ $(systemdservicemain_DATA): $(systemdservicemain_in_files) Makefile @sed -e "s|\@servicedir\@|$(libexecdir)|" $< | \ sed -e "s|\@daemon_user\@|$(daemon_user)|" > $@ endif +endif EXTRA_DIST = \ $(dbusservicemain_in_files) \