view scripts/statistics/Makefile.in @ 2811:1dd37f97364a

[project @ 1997-03-12 23:06:13 by jwe]
author jwe
date Wed, 12 Mar 1997 23:06:23 +0000
parents 7e24c1f29db4
children 6d56646a2d1f
line wrap: on
line source

#
# Makefile for octave's scripts/statistics directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

TOPDIR = ../..

script_sub_dir = statistics

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

include $(TOPDIR)/Makeconf

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

SOURCES = *.m

DISTFILES = Makefile.in $(SOURCES)

FCN_FILES = $(wildcard $(srcdir)/*.m)
FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))

BINDISTFILES = $(FCN_FILES)

all:
.PHONY: all

install install-strip:
	$(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir)
	for f in $(FCN_FILES_NO_DIR) ; do \
	  rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
	  $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
	done
.PHONY: install install-strip

uninstall:
	for f in $(FCN_FILES_NO_DIR) ; \
	  do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
	done
.PHONY: uninstall

clean:
.PHONY: clean

tags: $(SOURCES)
	ctags $(SOURCES)

TAGS: $(SOURCES)
	etags $(SOURCES)

mostlyclean: clean
.PHONY: mostlyclean

distclean: clean
	rm -f Makefile
.PHONY: distclean

maintainer-clean: distclean
	rm -f tags TAGS
.PHONY: maintainer-clean

dist:
	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/statistics
.PHONY: dist

bin-dist:
	ln $(BINDISTFILES) ../../`cat ../../.fname`/scripts/statistics
.PHONY: bin-dist