Project

General

Profile

Feature #301 ยป destdir.diff

Davide Cavalca, 2010-10-09 18:09

View differences:

tvheadend-r5449a/support/posix.mk 2010-10-09 17:44:14.641817063 +0200
5 5
MAN=man/tvheadend.1
6 6

  
7 7
install: ${PROG} ${MAN}
8
	mkdir -p $(INSTBIN)
9
	install -s ${PROG} $(INSTBIN)
8
	mkdir -p ${DESTDIR}$(INSTBIN)
9
	install -s ${PROG} ${DESTDIR}$(INSTBIN)
10 10

  
11
	mkdir -p $(INSTMAN)
12
	install ${MAN} $(INSTMAN)
11
	mkdir -p ${DESTDIR}$(INSTMAN)
12
	install ${MAN} ${DESTDIR}$(INSTMAN)
13 13

  
14 14
uninstall:
15
	rm -f $(INSTBIN)/${PROG}
16
	rm -f $(INSTMAN)/${MAN}
15
	rm -f ${DESTDIR}$(INSTBIN)/${PROG}
16
	rm -f ${DESTDIR}$(INSTMAN)/${MAN}
    (1-1/1)