Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 20366
Collapse All | Expand All

(-)src/Makefile.in.orig (-13 / +13 lines)
Lines 53-73 Link Here
53
53
54
uninstall:
54
uninstall:
55
	@echo -n "Uninstalling hdup..."
55
	@echo -n "Uninstalling hdup..."
56
	@rm -f ${bindir}/hdup
56
	@rm -f ${DESTDIR}${bindir}/hdup
57
	#@rm -f ${etcdir}/hdup.conf
57
	#@rm -f ${etcdir}/hdup.conf
58
	@rmdir --ignore-fail-on-non-empty ${etcdir}
58
	@rmdir --ignore-fail-on-non-empty ${DESTDIR}${etcdir}
59
	@rm -f ${mandir}/man1/hdup.1
59
	@rm -f ${DESTDIR}${mandir}/man1/hdup.1
60
	@rm -f ${mandir}/man5/hdup.conf.5
60
	@rm -f ${DESTDIR}${mandir}/man5/hdup.conf.5
61
	@echo "done"
61
	@echo "done"
62
62
63
install: hdup ../hdup.conf ../doc/hdup.1 ../doc/hdup.conf.5
63
install: hdup ../hdup.conf ../doc/hdup.1 ../doc/hdup.conf.5
64
	@echo "Installing in hdup in ${prefix}..."
64
	@echo "Installing in hdup in ${DESTDIR}${prefix}..."
65
	@mkdir -p ${etcdir}
65
	@mkdir -p ${DESTDIR}${etcdir}
66
	@mkdir -p ${mandir}/man1
66
	@mkdir -p ${DESTDIR}${bindir}
67
	@mkdir -p ${mandir}/man5
67
	@mkdir -p ${DESTDIR}${mandir}/man1
68
	@echo "Not Installing hdup.conf"
68
	@mkdir -p ${DESTDIR}${mandir}/man5
69
	#@${INSTALL} -m 600 hdup.conf ${etcdir}/hdup.conf
69
	@${INSTALL} -m 600 ../hdup.conf ${DESTDIR}${etcdir}/hdup.conf
70
	@${INSTALL} hdup ${bindir}/hdup
70
	@${INSTALL} hdup ${DESTDIR}${bindir}/hdup
71
	@${INSTALL} ../doc/hdup.1 ${mandir}/man1/hdup.1
71
	@${INSTALL} ../doc/hdup.1 ${DESTDIR}${mandir}/man1/hdup.1
72
	@${INSTALL} ../doc/hdup.conf.5 ${mandir}/man5/hdup.conf.5
72
	@${INSTALL} ../doc/hdup.conf.5 ${DESTDIR}${mandir}/man5/hdup.conf.5
73
	@echo "done"
73
	@echo "done"

Return to bug 20366