mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 15:15:57 -05:00
30 lines
554 B
Makefile
30 lines
554 B
Makefile
# $Id$
|
|
#
|
|
SUBDIRS = init.d
|
|
|
|
EXTRA_DIST = README mt-daapd.spec mt-daapd.conf.templ mt-daapd-ssc.sh mt-daapd-ssc.pl
|
|
|
|
BUILT_SOURCES = mt-daapd.conf
|
|
sysconf_DATA = mt-daapd.conf
|
|
bin_SCRIPTS = mt-daapd-ssc.sh
|
|
|
|
dbdir="/var/cache/mt-daapd"
|
|
|
|
mt-daapd.conf: mt-daapd.conf.templ ../config.h
|
|
if [ "$(prefix)" = "/usr" ]; then \
|
|
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
|
else \
|
|
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],$(prefix)/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|