-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
69 lines (56 loc) · 1.64 KB
/
Makefile.am
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#########################################################################
# #
# Author: Copyright (C) 2018-2019, 2021, 2023 Mark Grant #
# #
# Released under the GPLv3 only. #
# SPDX-License-Identifier: GPL-3.0-only #
# #
# Purpose: #
# AutoMake script file to generate Dependency on Server At Boot project #
# from source. #
# #
#########################################################################
#########################################################################
# #
# N.B. #
# ==== #
# The sequence of the build is important for systemd, see below. #
# #
#########################################################################
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src/conf/etc
SUBDIRS += src/man/5 src/man/8
# systemd requires the ordering of certain actions, so:-
# Install
# bash
# service
# service-post (hook)
# enable service
# start service
# Uninstall
# bash-pre (local)
# disable service
# bash
# service
# service-post (hook)
# daemon reload
SUBDIRS += src/prg/bash
if SYSD
SUBDIRS += src/systemd
endif
doc_DATA = AUTHORS ChangeLog COPYING NEWS README
EXTRA_DIST = $(srcdir)/AUTHORS $(srcdir)/ChangeLog $(srcdir)/COPYING
EXTRA_DIST += $(srcdir)/NEWS $(srcdir)/README
EXTRA_DIST += $(srcdir)/misc
srctarball:
@cwd="$${PWD}" && \
varg="$$(echo @PACKAGE_VERSION@ | sed -e s/\-rc/\~rc/ )" && \
targ="$${cwd}/@PACKAGE_TARNAME@-$${varg}.tar.gz" && \
cd @srcdir@ && \
echo "making srctarball from @srcdir@" && \
echo "GA $${targ}" && \
git archive --format=tar.gz \
--prefix=@PACKAGE_TARNAME@-$${varg}/ \
--output=$${targ} \
HEAD && \
cd -