2003-12-01 02:17:57 -05:00
|
|
|
# $Id$
|
|
|
|
#
|
2006-04-17 01:04:21 -04:00
|
|
|
SUBDIRS = init.d
|
|
|
|
|
|
|
|
EXTRA_DIST = README mt-daapd.spec mt-daapd.conf.templ mt-daapd-ssc.sh mt-daapd-ssc.pl
|
2006-03-25 18:19:21 -05:00
|
|
|
|
|
|
|
BUILT_SOURCES = mt-daapd.conf
|
2006-04-17 01:04:21 -04:00
|
|
|
bin_SCRIPTS = mt-daapd-ssc.sh
|
2006-03-25 18:19:21 -05:00
|
|
|
|
|
|
|
dbdir="/var/cache/mt-daapd"
|
|
|
|
|
2006-04-10 13:15:37 -04:00
|
|
|
mt-daapd.conf: mt-daapd.conf.templ ../config.h
|
2006-04-12 00:34:01 -04:00
|
|
|
if [ "$(prefix)" = "/usr" ]; then \
|
2006-04-15 01:31:53 -04:00
|
|
|
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
2006-03-25 18:19:21 -05:00
|
|
|
else \
|
2006-04-15 01:31:53 -04:00
|
|
|
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],$(prefix)/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
2006-03-25 18:19:21 -05:00
|
|
|
fi
|
|
|
|
|