-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
34 lines (27 loc) · 859 Bytes
/
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
pkgtemplatesdir = $(pkglibexecdir)/templates
bin_SCRIPTS = bdm
dist_noinst_SCRIPTS = bdm.template
dist_pkglibexec_SCRIPTS = \
lib/distro.sh \
lib/install.sh \
lib/read_ini.sh \
lib/utils.sh \
lib/bootstrap_imports.sh
dist_pkgtemplates_SCRIPTS = \
templates/zsh_path.sh \
templates/fish_path.sh \
templates/bash_path.sh \
templates/gen_bootstrap.sh
dist_sysconf_DATA = bdm.conf
bdm: bdm.template
sed -e 's,@BDM_CONFDIR\@,$(sysconfdir),g' \
-e 's,@BDM_LIBDIR\@,$(pkglibexecdir),g' \
-e 's,@BDM_VERSION\@,$(BDM_VERSION),g' \
$^ > $@
if FOUND_A2X
man1_MANS = docs/BDM.1
dist_noinst_DATA = docs/bdm.adoc
$(man1_MANS): docs/bdm.adoc
a2x --doctype manpage --format manpage $^
endif
CLEANFILES = ${bin_SCRIPTS} ${man1_MANS}