tvheadend/support/posix.mk
Damjan Marion 992da6c374 osx: fix install
Use POSIX compliant -R parameter instead of obsolete -r.
On linux they are equivalent, on OS X -r is not supported.
2014-05-29 00:44:12 +02:00

23 lines
732 B
Makefile

MAN = $(ROOTDIR)/man/tvheadend.1
ICON = $(ROOTDIR)/support/gnome/tvheadend.svg
INSTICON= ${DESTDIR}$(prefix)/share/icons/hicolor/scalable/apps
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
uninstall:
rm -f ${DESTDIR}${bindir}/tvheadend
rm -f ${DESTDIR}${mandir}/man1/tvheadend.1
rm -rf ${DESTDIR}${datadir}/tvheadend