# ***************************************************************************
# * U. Minnesota LPD Software * Copyright 1987, 1988, Patrick Powell
# ***************************************************************************
# * MODULE: Top level makefile:
# * Make a tar tape for distribution
# ***************************************************************************
# * Revision History: Created Thu Mar 24 12:42:00 CST 1988
# * $Log$
# ***************************************************************************
##ifndef lint
#static char id_str1[] =
#	"$Header$ PLP Copyright 1988 Patrick Powell";
#endif lint
OUTPUT = /tmp/PLP.tar

all:
	@echo 'distr: make distribution'
	@echo 'progs: create stuff for installation'
	@echo 'see the documentation in doc, and README files'

distr:
	tar cf $(OUTPUT) `cat FILES`
install:
	-mkdir bin 
	-mkdir lint 
	cp src/Makefile bin/Makefile
	@echo "edit bin/Makefile for your site"
clean:
	for i in src test backup filters printcap utilities bin; do \
		echo "----- cleaning " $$i "----------" ; \
		(cd $$i; make clean ); \
	done
	-rm -f lint/*
