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.
This commit is contained in:
Jon Lund Steffensen
2014-05-25 11:46:24 -04:00
parent 565ffc3c50
commit 38e20a9fd3
+1 -1
View File
@@ -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)" > $@