summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 5d38113f8a9e66173932c3d70414a3af2a68983b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ACLOCAL_AMFLAGS = -I m4

AM_CPPFLAGS = -D_GNU_SOURCE -I$(top_srcdir)/lib/include
AM_CFLAGS = $(WARN_CFLAGS)

bin_PROGRAMS =
sbin_PROGRAMS =
noinst_LIBRARIES =
nobase_sysconf_DATA =
sysconf_DATA = etc/initd.env

helperdir = @SCRIPTDIR@
helper_PROGRAMS =
helper_SCRIPTS =

EXTRA_DIST = README.md LICENSE docs

dist_man1_MANS =
dist_man8_MANS =

include lib/Makemodule.am
include cmd/Makemodule.am
include initd/Makemodule.am

install-exec-hook:
	(cd $(DESTDIR)$(sbindir); $(LN_S) shutdown reboot)

install-data-local:
	$(MKDIR_P) $(DESTDIR)$(man8dir)
	(cd $(DESTDIR)$(man8dir); $(LN_S) shutdown.8 reboot.8)
	$(MKDIR_P) $(DESTDIR)$(SVCDIR)
	$(MKDIR_P) $(DESTDIR)$(TEMPLATEDIR)