about summary refs log tree commit diff
path: root/sv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sv/Makefile')
-rw-r--r--sv/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sv/Makefile b/sv/Makefile
new file mode 100644
index 0000000..d97cc39
--- /dev/null
+++ b/sv/Makefile
@@ -0,0 +1,12 @@
+DESTDIR=
+SYSCONFDIR=/etc
+SVDIR=$(SYSCONFDIR)/sv
+
+install: FRC
+	for f in daily hourly weekly monthly; do \
+		mkdir -p $(DESTDIR)$(SVDIR)/snooze-$$f; \
+		install -m0755 snooze-$$f/run snooze-$$f/finish \
+			$(DESTDIR)$(SVDIR)/snooze-$$f/; \
+	done
+
+FRC: