aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-05-25 11:46:24 -0400
committerJon Lund Steffensen <jonlst@gmail.com>2014-05-25 11:46:24 -0400
commit38e20a9fd31eb5253ff955b071518a90f11cb3c6 (patch)
tree97505097e84fd200d4c7ba9040b6a7948d2b2475
parentUpdate NEWS and configure.ac for 1.9.1 release (diff)
downloadredshift-ng-38e20a9fd31eb5253ff955b071518a90f11cb3c6.tar.gz
redshift-ng-38e20a9fd31eb5253ff955b071518a90f11cb3c6.tar.bz2
redshift-ng-38e20a9fd31eb5253ff955b071518a90f11cb3c6.tar.xz
Fix building systemd unit files
The previous Makefile rule would generate all unit files from `redshift.service.in`. This is fixed to generate the file from the proper `.service.in` file.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 675fda8..7ad1fe8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -75,7 +75,7 @@ endif
$(systemduserunit_DATA): $(SYSTEMD_USER_UNIT_IN_FILES) Makefile
$(AM_V_GEN)$(MKDIR_P) $(@D) && \
- sed -e "s|\@bindir\@|$(bindir)|g" $< > $@
+ sed -e "s|\@bindir\@|$(bindir)|g" "$(srcdir)/$(@:.service=.service.in)" > $@