xref: /original-bsd/contrib/bib/Makefile (revision 181f2284)
1#	@(#)Makefile	2.3 (Berkeley) 05/27/93
2#
3# all executables go in DEST_BIN
4# all man pages go in DEST_MAN
5# the bib libraries go in DEST_LIB
6
7# At UCB, the file structures have diverged, resulting in the following
8# choice:
9
10# UNIX on VAX machines:
11DEST_BASE=/usr/contrib
12DEST_BIN=$(DEST_BASE)
13DEST_MAN=/usr/man
14
15# UNIX on Suns, etc
16#DEST_BASE=/usr/local
17#DEST_BIN=$(DEST_BASE)/bin
18#DEST_MAN=$(DEST_BASE)/man
19
20# the software expects the following to be true
21DEST_LIB=$(DEST_BASE)/lib
22
23DESTDIRS=DEST_BASE=$(DEST_BASE) DEST_BIN=$(DEST_BIN) \
24	 DEST_MAN=$(DEST_MAN)   DEST_LIB=$(DEST_LIB)
25
26all:
27	cd src; make ${MFLAGS} $(DESTDIRS)
28
29install: all installsrc installmacs installman
30
31installman:
32	cd man; make ${MFLAGS} $(DESTDIRS) install
33
34installsrc:
35	cd src; make ${MFLAGS} $(DESTDIRS) install
36
37installmacs:
38	cd macs; make ${MFLAGS} $(DESTDIRS) install
39
40clean:
41	cd src; make ${MFLAGS} $(DESTDIRS) clean
42