1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
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.
pkglibdir = $(prefix)/lib/shutdown-at-night
INSTALL = install
all:
install:
$(INSTALL) -d $(DESTDIR)$(pkglibdir)/. $(DESTDIR)$(pkgsysconfdir)/.
$(INSTALL) shutdown-at-night $(DESTDIR)$(pkglibdir)/.
$(INSTALL) wakeupclients $(DESTDIR)$(pkglibdir)/.
distclean: clean
clean:
|