view scripts/plot/Makefile.in @ 2588:ccd72573a0cf

[project @ 1996-12-12 08:26:55 by jwe]
author jwe
date Thu, 12 Dec 1996 08:28:49 +0000
parents b3a4b62884b9
children 7e24c1f29db4
line wrap: on
line source

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

TOPDIR = ../..

script_sub_dir = plot

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))

all:
.PHONY: all

install:
	$(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

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/plot
.PHONY: dist