#! /usr/bin/make -f
#
.PHONY: install clean
 
INST_BIN=	install -g root -o root -m 755
INST_DIR=	install -g root -o root -d -m 755
INST_DAT=	install -g root -o root -m 644

prefix	=	/usr
BIN	=	$(prefix)/bin
LIB	=	$(prefix)/lib
INFO    =       $(prefix)/info
MAN     =       $(prefix)/man
TEXMF	=	$(LIB)/texmf
DOC	=	$(TEXMF)/doc


# This is the default action
all:
	yes | tex pandora.ins
	yes | tex oldgerm.ins
	tex dccrstd.tex

# This this installs below $(prefix)
install:
	$(INST_DIR)			$(prefix)
	$(INST_DIR)			$(BIN)
	$(INST_DIR)			$(LIB)
	$(INST_DIR)			$(TEXMF)
	$(INST_DIR)			$(TEXMF)/tex/latex/mfnfss
	$(INST_DIR)			$(TEXMF)/fonts/source/public/dccr
	$(INST_DIR)			$(DOC)/latex/mfnfss
	$(INST_DAT) *.fd *.sty		$(TEXMF)/tex/latex/mfnfss
	$(INST_DAT) dc*.mf		$(TEXMF)/fonts/source/public/dccr
	$(INST_DAT) *.dtx		$(DOC)/latex/mfnfss

# This cleans up
clean:
	rm -f dccr[0-9].mf dccr1[0-9].mf *.log *.dvi *.fd *.sty mfccr.bat

# Local Variables:
#   mode: makefile
# End:

