1*8ec23683Skstailey#	$Id: Makefile.bsd-wrapper,v 1.16 1997/07/24 20:08:25 kstailey Exp $
2becf174bSetheisen
3becf174bSetheisenINFODIR=	infodir=${DESTDIR}/usr/share/info
4becf174bSetheisenINFOPATH=	DEFAULT_INFOPATH=/usr/local/info:/usr/share/info:.
5dc815a41SetheisenCLEANFILES=	makeinfo/makeinfo.info info/info.info info/info-stnd.info emacs/Makefile
6953e460fSniklas
7953e460fSniklasMAN=		info/info.1
8953e460fSniklasSUBDIRS=	libtxi makeinfo info util
9becf174bSetheisenGNUCFLAGS=	CFLAGS="$(CFLAGS)"
10becf174bSetheisenFSFMAKE=	${MAKE} SUBDIRS="$(SUBDIRS)" $(GNUCFLAGS) $(INFODIR) $(INFOPATH)
11953e460fSniklas
12bd12369cSkstailey.include <bsd.own.mk>
13bd12369cSkstailey
14953e460fSniklasall:	config.status
1588a3d15fSetheisen	${FSFMAKE} LDFLAGS=${LDSTATIC}
16953e460fSniklas
17953e460fSniklas.FORCE:	.IGNORE
18953e460fSniklas
19953e460fSniklasconfig: .FORCE
20c1355a8cSniklas	-rm -f config.cache
21*8ec23683Skstailey	INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
22*8ec23683Skstailey		/bin/sh ${.CURDIR}/configure --prefix=/usr
23953e460fSniklas
24953e460fSniklasconfig.status:
25*8ec23683Skstailey	INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
26*8ec23683Skstailey		/bin/sh ${.CURDIR}/configure --prefix=/usr
27953e460fSniklas
286e9cd8e2Skstailey.ifdef NOMAN
296e9cd8e2Skstaileymaninstall:
306e9cd8e2Skstailey	@echo NOMAN is set
316e9cd8e2Skstailey.endif
326e9cd8e2Skstailey
33953e460fSniklasinstall:	maninstall
34a3e8ffb9Sderaadt	${FSFMAKE} prefix=${DESTDIR}/usr bindir=${DESTDIR}/usr/bin \
35becf174bSetheisen	    mandir= INSTALL_MAN= install
366bd11868Sderaadt	sh ${.CURDIR}/util/gen-dir-node ${DESTDIR}/usr/share/info > \
376bd11868Sderaadt	    ${DESTDIR}/usr/share/info/dir
38953e460fSniklas
39953e460fSniklasclean cleandir:
40becf174bSetheisen	rm -f $(CLEANFILES)
41953e460fSniklas	-@if [ -e Makefile ]; then ${FSFMAKE} distclean; fi
42953e460fSniklas
43953e460fSniklasdepend:
44953e460fSniklas	# Nothing here so far...
45953e460fSniklas
46953e460fSniklaslint:
47953e460fSniklas	# Nothing here so far...
48953e460fSniklas
49953e460fSniklastags:
50953e460fSniklas	# Nothing here so far...
51953e460fSniklas
52953e460fSniklas.include <bsd.obj.mk>
53953e460fSniklas.include <bsd.subdir.mk>
54408dd954Skstailey.ifndef NOMAN
55953e460fSniklas.include <bsd.man.mk>
56408dd954Skstailey.endif
57