Skip to content

Commit 9e10ffe

Browse files
committed
Eliminate config file in build scripts
1 parent 4f9b3cd commit 9e10ffe

File tree

2 files changed

+0
-409
lines changed

2 files changed

+0
-409
lines changed

Makefile.am

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
11
ACLOCAL_AMFLAGS = -I m4
22

3-
CONF_FILE = cliap2.conf
4-
5-
BUILT_SOURCES = $(CONF_FILE)
6-
73
SUBDIRS = src
84

9-
EXTRA_DIST = \
10-
$(CONF_FILE).in
11-
12-
CLEANFILES = $(BUILT_SOURCES)
13-
145
do_subst = $(SED) -e 's|@sbindir[@]|$(sbindir)|g' \
156
-e 's|@localstatedir[@]|$(localstatedir)|g' \
167
-e 's|@PACKAGE[@]|$(PACKAGE)|g' \
178
-e 's|@OWNTONE_USER[@]|$(OWNTONE_USER)|g'
18-
19-
# these files use $prefix, which is determined at build (not configure) time
20-
$(CONF_FILE): Makefile
21-
$(AM_V_at)rm -f $@ $@-t
22-
$(AM_V_GEN)$(do_subst) "$(srcdir)/$@.in" > $@-t
23-
$(AM_V_at)mv $@-t $@
24-
25-
$(CONF_FILE): $(srcdir)/$(CONF_FILE).in

0 commit comments

Comments
 (0)