owntone-server/contrib/Makefile.am

30 lines
554 B
Makefile
Raw Normal View History

# $Id$
#
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
sysconf_DATA = mt-daapd.conf
bin_SCRIPTS = mt-daapd-ssc.sh
2006-03-25 18:19:21 -05:00
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 >$@; \
2006-03-25 18:19:21 -05:00
else \
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
2004-01-29 14:06:36 -05:00
2003-12-29 14:46:58 -05:00