DESTDIR   =
prefix    = /usr
sbindir   = $(prefix)/sbin
sysconfdir= /etc
pkgsysconfdir= $(sysconfdir)/shutdown-at-night

# Install scripts in lib/, to make it trivial to rewrite the internal tools
# in any language, even compiled ones, without having to update the path used
# by the callers.
pkglibexecdir = $(prefix)/libexec/shutdown-at-night

INSTALL = install

all:

install:
	$(INSTALL) -d $(DESTDIR)$(pkglibexecdir)/. $(DESTDIR)$(pkgsysconfdir)/.
	$(INSTALL) shutdown-at-night $(DESTDIR)$(pkglibexecdir)/.
	$(INSTALL) wakeupclients $(DESTDIR)$(pkglibexecdir)/.

distclean: clean
clean:
