# Smart Boot Manager documentation Makefile
# 
# Copyright (c) Suzhe 2000
#

USERGUIDE=	user-guide
SGML=		${USERGUIDE}.sgml

HTML=		${USERGUIDE}*.html
PS=		${USERGUIDE}.ps
TXT=		${USERGUIDE}.txt
INFO=		${USERGUIDE}*.info

all: ${HTML} ${PS} ${TXT} ${INFO} 

${HTML}: ${SGML}
	sgml2html $<

${PS}: ${SGML}
	sgml2latex --output=ps $<

${TXT}: ${SGML}
	sgml2txt --filter $<

${INFO}: ${SGML}
	sgml2info $<

install: all
	-@mkdir ${DOC_DIR}
	-@cp ${USERGUIDE}* ${DOC_DIR}


.PHONY: clean uninstall
uninstall:
	-@rm -fr ${DOC_DIR}
clean:
	-@rm -f *.bak *~ core *.ps *.html *.info *.txt
