summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-06 10:22:14 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-06 10:22:14 +0000
commit78fbae28e3f501e0f050d1ec8f0c624674256c3d (patch)
tree9281809b91f129317cbd168345d6251a9206c4e2 /gnu/usr.bin/texinfo/Makefile.bsd-wrapper
parent55dbc9e70b46846a13ad75fcb84b1a624bfc04ae (diff)
OpenBSD customization. As we have DESTDIR as a maketime configuration option,
infodir and friends must be passed down dynamically to subdir makes. Also did some style nits in the wrapper for consistency.
Diffstat (limited to 'gnu/usr.bin/texinfo/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/texinfo/Makefile.bsd-wrapper16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
index 7810c8d2a1b..359385f2dc9 100644
--- a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
@@ -1,13 +1,15 @@
-# $Id: Makefile.bsd-wrapper,v 1.20 1997/08/01 22:48:18 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.21 1997/08/06 10:22:13 niklas Exp $
INFODIR= infodir=${DESTDIR}/usr/share/info
INFOPATH= DEFAULT_INFOPATH=/usr/local/info:/usr/share/info:.
-CLEANFILES= makeinfo/makeinfo.info info/info.info info/info-stnd.info emacs/Makefile
+CLEANFILES= makeinfo/makeinfo.info info/info.info info/info-stnd.info \
+ emacs/Makefile
NOMAN= # info.1 manpage passed into obsolescence
SUBDIRS= intl lib info makeinfo po util doc
-GNUCFLAGS= CFLAGS="$(CFLAGS)"
-FSFMAKE= ${MAKE} SUBDIRS="$(SUBDIRS)" $(GNUCFLAGS) $(INFODIR) $(INFOPATH)
+GNUCFLAGS= CFLAGS="${CFLAGS}"
+FSFMAKE= ${MAKE} SUBDIRS="${SUBDIRS}" ${GNUCFLAGS} ${INFODIR} \
+ ${INFOPATH}
.include <bsd.own.mk>
@@ -27,11 +29,11 @@ config: .FORCE
-rm -f config.cache
.endif
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- /bin/sh ${.CURDIR}/configure --prefix=/usr $(CF)
+ /bin/sh ${.CURDIR}/configure --prefix=/usr ${CF}
config.status:
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- /bin/sh ${.CURDIR}/configure --prefix=/usr $(CF)
+ /bin/sh ${.CURDIR}/configure --prefix=/usr ${CF}
.ifdef NOMAN
maninstall:
@@ -45,7 +47,7 @@ install: maninstall
${DESTDIR}/usr/share/info/dir
clean cleandir:
- rm -f $(CLEANFILES)
+ rm -f ${CLEANFILES}
-@if [ -e Makefile ]; then ${FSFMAKE} distclean; fi
depend: