diff options
Diffstat (limited to 'gnu/usr.bin/texinfo/install-info/Makefile')
-rw-r--r-- | gnu/usr.bin/texinfo/install-info/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/usr.bin/texinfo/install-info/Makefile b/gnu/usr.bin/texinfo/install-info/Makefile index 1f3e47b..404393f 100644 --- a/gnu/usr.bin/texinfo/install-info/Makefile +++ b/gnu/usr.bin/texinfo/install-info/Makefile @@ -2,10 +2,11 @@ # $Id$ # -INSTALLINFODIR= ${.CURDIR}/../../../../contrib/texinfo/util -TXIDIR= ${.CURDIR}/../../../../contrib/texinfo/libtxi +TEXIDIR= ${.CURDIR}/../../../../contrib/texinfo +INSTALLINFODIR= ${TEXIDIR}/util +TXIDIR= ${TEXIDIR}/libtxi LIBTXI= ${.CURDIR}/../libtxi/libtxi.a -BINDIR= /usr/bin +BINDIR= /usr/bin PROG= install-info NOMAN=yes @@ -23,4 +24,10 @@ DPADD+= ${LIBTXI} .PATH: $(INSTALLINFODIR) +afterinstall: + @if [ ! -f ${DESTDIR}/usr/share/info/dir ]; then \ + ${INSTALL} ${COPY} -o ${BINOWN} -m ${BINMODE} ${TEXIDIR}/dir \ + ${DESTDIR}/usr/share/info/dir; \ + fi + .include <bsd.prog.mk> |