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:
+1
-1
@@ -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)" > $@
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user