Added default info path to match our directory structure.
authoretheisen <etheisen@openbsd.org>
Fri, 2 Feb 1996 06:34:09 +0000 (06:34 +0000)
committeretheisen <etheisen@openbsd.org>
Fri, 2 Feb 1996 06:34:09 +0000 (06:34 +0000)
Pass CFLAGS into 'configure' generated Makefile.
Setup infodir for both build and install.
Removed static linking.  Not required for texinfo.
Added CLEANFILES section to smash files cleandir missed.

gnu/usr.bin/texinfo/Makefile.bsd-wrapper

index 910fa55..fac8883 100644 (file)
@@ -1,11 +1,16 @@
-#      $Id: Makefile.bsd-wrapper,v 1.4 1996/02/02 00:49:14 niklas Exp $
+#      $Id: Makefile.bsd-wrapper,v 1.5 1996/02/02 06:34:09 etheisen Exp $
+
+INFODIR=       infodir=${DESTDIR}/usr/share/info
+INFOPATH=      DEFAULT_INFOPATH=/usr/local/info:/usr/share/info:.
+CLEANFILES=    makeinfo/makeinfo.info info/info info/info-stnd.info
 
 MAN=           info/info.1
 SUBDIRS=       libtxi makeinfo info util
-FSFMAKE=       ${MAKE} SUBDIRS="$(SUBDIRS)"
+GNUCFLAGS=     CFLAGS="$(CFLAGS)"
+FSFMAKE=       ${MAKE} SUBDIRS="$(SUBDIRS)" $(GNUCFLAGS) $(INFODIR) $(INFOPATH)
 
 all:   config.status
-       ${FSFMAKE} LDFLAGS=${LDSTATIC}
+       ${FSFMAKE} 
 
 .FORCE:        .IGNORE
 
@@ -18,9 +23,10 @@ config.status:
 
 install:       maninstall
        ${FSFMAKE} prefix=${DESTDIR}/usr bindir=${DESTDIR}/usr/bin \
-       infodir=${DESTDIR}/usr/share/info mandir= INSTALL_MAN= install
+       mandir= INSTALL_MAN= install
 
 clean cleandir:
+       rm -f $(CLEANFILES)
        -@if [ -e Makefile ]; then ${FSFMAKE} distclean; fi
 
 depend: