2010-06-21 11:50:09 -04:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2009-04-01 12:59:32 -04:00
|
|
|
|
2016-12-27 18:57:41 -05:00
|
|
|
RPM_SPEC_FILE = forked-daapd.spec
|
2016-12-27 18:47:00 -05:00
|
|
|
CONF_FILE = forked-daapd.conf
|
|
|
|
SYSTEMD_SERVICE_FILE = forked-daapd.service
|
|
|
|
|
|
|
|
sysconf_DATA = $(CONF_FILE)
|
|
|
|
|
|
|
|
BUILT_SOURCES = $(CONF_FILE) $(SYSTEMD_SERVICE_FILE)
|
2009-06-12 05:38:46 -04:00
|
|
|
|
2017-08-12 13:43:10 -04:00
|
|
|
SUBDIRS = sqlext src htdocs
|
2009-09-21 15:26:21 -04:00
|
|
|
|
2016-12-27 18:32:08 -05:00
|
|
|
dist_man_MANS = forked-daapd.8
|
|
|
|
|
|
|
|
nobase_dist_doc_DATA = \
|
|
|
|
UPGRADING \
|
|
|
|
README.md \
|
2018-04-21 06:40:41 -04:00
|
|
|
README_JSON_API.md \
|
2016-12-27 18:32:08 -05:00
|
|
|
README_PULSE.md \
|
|
|
|
README_SMARTPL.md \
|
|
|
|
scripts/pairinghelper.sh
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2016-12-27 18:47:00 -05:00
|
|
|
$(CONF_FILE).in \
|
2016-12-27 18:57:41 -05:00
|
|
|
$(SYSTEMD_SERVICE_FILE).in \
|
|
|
|
$(RPM_SPEC_FILE)
|
2009-09-21 15:26:21 -04:00
|
|
|
|
2010-09-04 05:53:29 -04:00
|
|
|
install-data-hook:
|
2016-12-27 17:51:37 -05:00
|
|
|
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/libspotify"
|
2017-06-30 14:27:48 -04:00
|
|
|
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/log"
|
2018-03-04 11:41:18 -05:00
|
|
|
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/run"
|
2010-09-04 05:53:29 -04:00
|
|
|
|
2016-12-27 18:47:00 -05:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
2017-01-06 03:44:18 -05:00
|
|
|
do_subst = $(SED) -e 's|@sbindir[@]|$(sbindir)|g' \
|
2016-12-27 18:47:00 -05:00
|
|
|
-e 's|@localstatedir[@]|$(localstatedir)|g' \
|
|
|
|
-e 's|@PACKAGE[@]|$(PACKAGE)|g' \
|
|
|
|
-e 's|@DAAPD_USER[@]|$(DAAPD_USER)|g'
|
|
|
|
|
|
|
|
# these files use $prefix, which is determined at build (not configure) time
|
|
|
|
$(CONF_FILE) $(SYSTEMD_SERVICE_FILE): Makefile
|
|
|
|
$(AM_V_at)rm -f $@ $@-t
|
|
|
|
$(AM_V_GEN)$(do_subst) "$(srcdir)/$@.in" > $@-t
|
|
|
|
$(AM_V_at)mv $@-t $@
|
|
|
|
|
|
|
|
$(CONF_FILE): $(srcdir)/$(CONF_FILE).in
|
|
|
|
|
|
|
|
$(SYSTEMD_SERVICE_FILE): $(srcdir)/$(SYSTEMD_SERVICE_FILE).in
|