tvheadend/support/posix.mk

24 lines
732 B
Makefile
Raw Permalink Normal View History

MAN = $(ROOTDIR)/man/tvheadend.1
ICON = $(ROOTDIR)/support/gnome/tvheadend.svg
2009-03-30 17:10:22 +00:00
INSTICON= ${DESTDIR}$(prefix)/share/icons/hicolor/scalable/apps
2009-03-30 17:10:22 +00:00
install: ${PROG} ${MAN}
install -d ${DESTDIR}${bindir}
install ${PROG} ${DESTDIR}${bindir}/tvheadend
install -d ${DESTDIR}${mandir}/man1
install ${MAN} ${DESTDIR}${mandir}/man1/tvheadend.1
for bundle in ${BUNDLES}; do \
mkdir -p ${DESTDIR}${datadir}/tvheadend/$$bundle ;\
cp -LR $(ROOTDIR)/$$bundle/* ${DESTDIR}${datadir}/tvheadend/$$bundle ;\
done
find ${DESTDIR}${datadir}/tvheadend -name .git -exec rm -rf {} \; &>/dev/null || /bin/true
2009-03-30 17:10:22 +00:00
uninstall:
rm -f ${DESTDIR}${bindir}/tvheadend
rm -f ${DESTDIR}${mandir}/man1/tvheadend.1
rm -rf ${DESTDIR}${datadir}/tvheadend