xref: /csrg-svn/contrib/bib/macs/Makefile (revision 67424)
1#
2#	@(#)Makefile	1.10	94/06/18
3#
4DEST	      = $(DEST_LIB)/bmac
5
6MAKEFILE      = Makefile
7
8PRINT	      = vtroff
9
10BIBSRCS	      = bib.astro \
11		bib.compsurv \
12		bib.foot \
13		bib.hnf \
14		bib.jrnl \
15		bib.lib \
16		bib.list \
17		bib.llist \
18		bib.opena \
19		bib.openn \
20		bib.spe \
21		bib.spe2 \
22		bib.stda \
23		bib.stdafull \
24		bib.stdn \
25		bib.stdsn \
26		bib.supn \
27		bibinc.names \
28		bibmac.me \
29		bmac.open \
30		bmac.std \
31		common \
32		macros.me \
33		Makefile.e.g.
34
35BIBINCS	      = bibinc.fullnames \
36		bibinc.shortnames \
37		bibinc.publishers \
38		tibinc.fullnames \
39		tibinc.shortnames
40
41.PHONY: depend install clean all
42
43all:;
44
45clean:;
46
47depend:;	@mkmf -f $(MAKEFILE)
48
49install:	${BIBINCS}
50		-mkdir $(DEST)
51		-mkdir $(DEST)/bibmacs
52		-mkdir $(DEST)/tibmacs
53		cp bibinc.fullnames $(DEST)/bibmacs
54		cp bibinc.shortnames $(DEST)/bibmacs
55		cp bibinc.publishers $(DEST)/bibmacs
56		cp tibinc.fullnames $(DEST)/tibmacs/bibinc.fullnames
57		cp tibinc.shortnames $(DEST)/tibmacs/bibinc.shortnames
58		cp bibinc.fulllocal $(DEST)/bibmacs
59		cp bibinc.shortlocal $(DEST)/bibmacs
60		cp bibinc.fulllocal $(DEST)/tibmacs
61		cp bibinc.shortlocal $(DEST)/tibmacs
62		@echo Installing in $(DEST)
63		csh -f ./Install $(DEST) $(BIBSRCS) ;
64
65$(DEST):
66		mkdir $(DEST)
67
68bibinc.shortnames bibinc.fullnames: bibinc.names
69	bibinc <bibinc.names
70
71tibinc.fullnames tibinc.shortnames: bibinc.names
72	bibinc -Tib -Tex <bibinc.names
73
74update:;
75