summaryrefslogtreecommitdiff
path: root/src/grp-initprogs/grp-sleep/systemd-sleep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-initprogs/grp-sleep/systemd-sleep/Makefile')
-rw-r--r--src/grp-initprogs/grp-sleep/systemd-sleep/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/grp-initprogs/grp-sleep/systemd-sleep/Makefile b/src/grp-initprogs/grp-sleep/systemd-sleep/Makefile
index 8b99dd2197..161d4ebd50 100644
--- a/src/grp-initprogs/grp-sleep/systemd-sleep/Makefile
+++ b/src/grp-initprogs/grp-sleep/systemd-sleep/Makefile
@@ -42,8 +42,17 @@ nodist_systemunit_DATA += \
endif # ENABLE_HIBERNATE
+dist_systemunit_DATA += \
+ units/suspend.target
+
+nodist_systemunit_DATA += \
+ units/systemd-suspend.service
+
EXTRA_DIST += \
+ units/systemd-suspend.service.in \
units/systemd-hibernate.service.in \
units/systemd-hybrid-sleep.service.in
+sd.CPPFLAGS += -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\"
+
include $(topsrcdir)/build-aux/Makefile.tail.mk