-# $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
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: