view scripts/Makefile.in @ 1232:5f1bb459e99c

[project @ 1995-04-10 05:20:52 by jwe] Initial revision
author jwe
date Mon, 10 Apr 1995 05:20:52 +0000
parents 1f7cab2821b5
children 02a4e580de4e
line wrap: on
line source

#
# Makefile for octave's scripts directory
#
# John W. Eaton
# jwe@che.utexas.edu
# Department of Chemical Engineering
# The University of Texas at Austin

TOPDIR = ..

script_sub_dir = .

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)

SUBDIRS = control elfun general image linear-algebra miscellaneous \
	plot polynomial set signal specfun special-matrix startup \
	statistics strings time

DISTSUBDIRS = $(SUBDIRS)

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

all: $(SUBDIRS)
.PHONY: all

$(SUBDIRS):
	echo making all in $@
	cd $@ ; $(MAKE) all
.PHONY: $(SUBDIRS)

install uninstall clean mostlyclean distclean realclean::
	$(SUBDIR_FOR_COMMAND)
.PHONY: install uninstall clean mostlyclean distclean realclean

install::
	ls -R $(datadir)/octave > $(datadir)/octave/ls-R

uninstall::
	rm -f $(datadir)/octave/ls-R

tags TAGS:: $(SOURCES)
	$(SUBDIR_FOR_COMMAND)

tags::
	ctags $(SOURCES)

TAGS:: $(SOURCES)
	etags $(SOURCES)

distclean::
	rm -f Makefile

realclean::
	rm -f tags TAGS Makefile

local-dist:
	ln $(DISTFILES) ../`cat ../.fname`/scripts
	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; cd $$dir; $(MAKE) $@; cd ..; done
.PHONY: local-dist

dist:
	ln $(DISTFILES) ../`cat ../.fname`/scripts
	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; cd $$dir; $(MAKE) $@; cd ..; done
.PHONY: dist