2013-02-21 21:33:02 +00:00
|
|
|
MAN = $(ROOTDIR)/man/tvheadend.1
|
|
|
|
ICON = $(ROOTDIR)/support/gnome/tvheadend.svg
|
2009-03-30 17:10:22 +00:00
|
|
|
|
2012-04-10 20:43:43 +02:00
|
|
|
INSTICON= ${DESTDIR}$(prefix)/share/icons/hicolor/scalable/apps
|
2009-03-30 17:10:22 +00:00
|
|
|
|
|
|
|
|
2012-08-17 20:30:25 +01:00
|
|
|
install: ${PROG} ${MAN}
|
2013-05-04 13:59:54 +02:00
|
|
|
install -d ${DESTDIR}${bindir}
|
|
|
|
install ${PROG} ${DESTDIR}${bindir}/tvheadend
|
2014-01-05 21:47:25 +01:00
|
|
|
install -d ${DESTDIR}${mandir}/man1
|
|
|
|
install ${MAN} ${DESTDIR}${mandir}/man1/tvheadend.1
|
2012-04-10 20:43:43 +02:00
|
|
|
|
|
|
|
for bundle in ${BUNDLES}; do \
|
2012-08-17 21:18:53 +01:00
|
|
|
mkdir -p ${DESTDIR}${datadir}/tvheadend/$$bundle ;\
|
2014-05-27 23:15:21 +02:00
|
|
|
cp -LR $(ROOTDIR)/$$bundle/* ${DESTDIR}${datadir}/tvheadend/$$bundle ;\
|
2012-04-10 20:43:43 +02:00
|
|
|
done
|
|
|
|
|
2013-01-12 20:13:33 +00:00
|
|
|
find ${DESTDIR}${datadir}/tvheadend -name .git -exec rm -rf {} \; &>/dev/null || /bin/true
|
2011-05-03 23:41:55 +02:00
|
|
|
|
2009-03-30 17:10:22 +00:00
|
|
|
uninstall:
|
2013-02-21 21:33:02 +00:00
|
|
|
rm -f ${DESTDIR}${bindir}/tvheadend
|
2014-01-05 21:47:25 +01:00
|
|
|
rm -f ${DESTDIR}${mandir}/man1/tvheadend.1
|
2013-02-21 21:33:02 +00:00
|
|
|
rm -rf ${DESTDIR}${datadir}/tvheadend
|