#! /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/latex/psnfss
SRC	=	$(TEXMF)/tex/latex/psnfss


# This is the default action
all:
	tex adobe.ins
	tex charter.ins
	tex lucida.ins
	tex psfonts.ins
	tex utopia.ins

# This this installs below $(prefix)
install:
	$(INST_DIR)			$(prefix)
	$(INST_DIR)			$(SRC)
	$(INST_DIR)			$(DOC)
	$(INST_DAT) *.sty *.fd		$(SRC)
	$(INST_DAT) *.dtx *.tex *.ps *.txt readme	$(DOC)

# This cleans up
clean:
	rm -f *.sty *.fd *.log lucfont.tex psfonts.aux psfonts.dvi

# Local Variables:
#   mode: makefile
# End:

