
Use POSIX compliant -R parameter instead of obsolete -r. On linux they are equivalent, on OS X -r is not supported.
23 lines
732 B
Makefile
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
|