mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
28 lines
564 B
Makefile
28 lines
564 B
Makefile
# $Id$
|
|
#
|
|
EXTRA_DIST = README mt-daapd.spec mt-daapd.conf.templ mt-daapd.playlist mt-daapd mt-daapd-gentoo mt-daapd-ssc.sh mt-daapd-ssc.pl mt-daapd-ssc.pl mt-daapd-ssc.sh
|
|
|
|
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
|
|
if [ "$(prefix)" == "/usr" ]; then \
|
|
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],/var/cache/mt-daapd,g $< >$@; \
|
|
else \
|
|
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],$(prefix)/var/cache/mt-daapd,g $< >$@; \
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|