#
#   doc/sgml makefile
#   hniemann
#   $Id: Makefile,v 1.1 1998/06/10 13:11:38 hniemann Exp $
#
# targets:
# filelist creates a new file with targets for all sgml files
#          present in the doc/sgml directory (=here)
#          call this whenever a new file comes in.
#
# txt      (automatically created) generates txt files (in doc/txt)
#          from all sgml files present
#
# all      txt (html ...)
#
# index    generates a new index.sgml
#
.PHONY: filelist pack
ifeq (.files, $(wildcard .files))
include .files
else
initial: filelist
	@echo -e "initial .files made.\nplease 'make all' or 'make txt' now"
endif

filelist:
	sh ./makefiles.sh
