summaryrefslogtreecommitdiff
blob: 778f8f8b745aa61a1696ac3e82e4fd73e3889895 (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
ACLOCAL_AMFLAGS = -I m4
DISTCHECK_CONFIGURE_FLAGS = \
	--with-systemdsystemunitdir=\$${libdir}/systemd/system \
	--with-systemdsystemgeneratordir=\$${libdir}/systemd/system-generators

dist_tmpfiles_DATA = \
	tmpfiles.d/gentoo-run.conf
dist_systemdsystemunit_DATA = \
	mounts/var-lock.mount \
	mounts/var-run.mount
dist_systemdsystemgenerator_SCRIPTS = \
	system-generators/gentoo-local-generator

install-data-hook: \
	systemd-system-unit-install-hook

systemd-system-unit-install-hook:
	mkdir -p $(DESTDIR)$(systemdsystemunitdir)/sysinit.target.wants
	$(LN_S) ../var-lock.mount ../var-run.mount \
		$(DESTDIR)$(systemdsystemunitdir)/sysinit.target.wants/

DISTCLEANFILES = \
	$(systemdsystemunit_DATA)

EXTRA_DIST = NEWS
NEWS: configure.ac Makefile.am
	git for-each-ref refs/tags --sort '-*committerdate' \
		--format '# %(tag) (%(*committerdate:short))%0a%(contents:body)' \
		> NEWS