-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile.am
33 lines (26 loc) · 788 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
ACLOCAL_AMFLAGS = -I m4
if USE_SCANBUTTOND
SUBDIRS = src/scanbuttond src/scanbd conf
else
SUBDIRS = src/scanbd
endif
SUBDIRS += conf integration scripts contrib doc
DISTCHECK_CONFIGURE_FLAGS = \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
EXTRA_DIST = \
Makefile.simple \
Makefile.conf.in \
Makefile.conf \
Makefile.include.in \
Makefile.include
noinst_DATA = \
Makefile.conf \
Makefile.include
Makefile.conf: Makefile.conf.in configure
echo "Generating $@...";
sed -e 's|@PACKAGEVERSION@|$(PACKAGE_VERSION)|g' \
-e 's|@PACKAGENAME@|$(PACKAGE)|g' [email protected] >$@
Makefile.include: Makefile.include.in configure
echo "Generating $@...";
sed -e 's|@PACKAGEVERSION@|$(PACKAGE_VERSION)|g' \
-e 's|@PACKAGENAME@|$(PACKAGE)|g' [email protected] >$@