mirror of
https://github.com/3cky/mbusd
synced 2025-10-26 23:46:44 +08:00
32 lines
602 B
Makefile
32 lines
602 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
SUBDIRS = src doc
|
|
|
|
mbusddocdir = ${prefix}/doc/mbusd
|
|
mbusddoc_DATA = \
|
|
README.md\
|
|
CHANGELOG.md\
|
|
LICENSE
|
|
|
|
EXTRA_DIST = $(mbusddoc_DATA)
|
|
|
|
# Copy all the spec files. Of cource, only one is actually used.
|
|
dist-hook:
|
|
for specfile in *.spec; do \
|
|
if test -f $$specfile; then \
|
|
cp -p $$specfile $(distdir); \
|
|
fi \
|
|
done
|
|
|
|
# systemd
|
|
AM_DISTCHECK_CONFIGURE_FLAGS = \
|
|
--with-systemdsystemunitdir='$$(prefix)/$(systemdsystemunitdir)'
|
|
|
|
if HAVE_SYSTEMD
|
|
systemdsystemunit_DATA = \
|
|
systemd-units/mbusd@.service
|
|
endif
|
|
|