File: Makefile

package info (click to toggle)
shutdown-at-night 0.8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 40 kB
  • ctags: 19
  • sloc: perl: 53; sh: 53; makefile: 18
file content (22 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (7)
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: