# Makefile for SVGAfft example directory
# 
# (installation)
#
#   Copyright (C) 1995 Andrew Veliath
#
#	$Id: Makefile,v 0.6 1995/04/27 04:59:09 drewvel Exp $


DESTROOT=/usr/local
DESTBIN=$(DESTROOT)/bin
DESTMAN=$(DESTROOT)/man
DESTCONFIGS=$(DESTROOT)/dspconfigs
INSTALL=install
CONFIGS=bars1 bars2 segments1 wireframe1 wireframe2 wireframe3 fire README

all:
	@echo
	@echo Type \`make install\' to install the analyze script.
	@echo Make sure to set the export the environment variable
	@echo DSPCONFIGS if you want to use another directory 
	@echo instead of $(DESTCONFIGS) for the configuration files.


install:
	mkdir -p $(DESTCONFIGS)
	cp $(CONFIGS) $(DESTCONFIGS)
	chmod 644 $(DESTCONFIGS)/*
	$(INSTALL) -m 755 analyze $(DESTBIN)
	$(INSTALL) -m 644 analyze.1 $(DESTMAN)/man1
