Move use of DESTDIR from config.mk to posix.mk. Makes much more sense that way.
This commit is contained in:
parent
7f9930eca1
commit
b709427f3e
2 changed files with 10 additions and 10 deletions
|
@ -334,10 +334,10 @@ ARCH = ${ARCH}
|
|||
CFLAGS += ${CFLAGS}
|
||||
LDFLAGS += ${LDFLAGS}
|
||||
prefix = ${prefix}
|
||||
bindir = \${DESTDIR}${bindir}
|
||||
mandir = \${DESTDIR}${mandir}
|
||||
datadir = \${DESTDIR}${datadir}
|
||||
libdir = \${DESTDIR}${libdir}
|
||||
bindir = ${bindir}
|
||||
mandir = ${mandir}
|
||||
datadir = ${datadir}
|
||||
libdir = ${libdir}
|
||||
EOF
|
||||
|
||||
# Create C include
|
||||
|
|
|
@ -5,15 +5,15 @@ INSTICON= ${DESTDIR}$(prefix)/share/icons/hicolor/scalable/apps
|
|||
|
||||
|
||||
install: ${PROG} ${MAN}
|
||||
install -D ${PROG} ${bindir}/tvheadend
|
||||
install -D ${MAN} ${mandir}/tvheadend.1
|
||||
install -D ${PROG} ${DESTDIR}${bindir}/tvheadend
|
||||
install -D ${MAN} ${DESTDIR}${mandir}/tvheadend.1
|
||||
|
||||
for bundle in ${BUNDLES}; do \
|
||||
mkdir -p ${datadir}/tvheadend/$$bundle ;\
|
||||
cp -r $$bundle/* ${datadir}/tvheadend/$$bundle ;\
|
||||
mkdir -p ${DESTDIR}${datadir}/tvheadend/$$bundle ;\
|
||||
cp -r $$bundle/* ${DESTDIR}${datadir}/tvheadend/$$bundle ;\
|
||||
done
|
||||
|
||||
|
||||
uninstall:
|
||||
rm -f ${bindir)/tvheadend
|
||||
rm -f ${mandir)/tvheadend.1
|
||||
rm -f ${DESTDIR}${bindir)/tvheadend
|
||||
rm -f ${DESTDIR}${mandir)/tvheadend.1
|
||||
|
|
Loading…
Add table
Reference in a new issue