Mercurial > hg > octave-avbm
changeset 732:a8e00973fcd4
[project @ 1994-09-22 19:38:13 by jwe]
Initial revision
author | jwe |
---|---|
date | Thu, 22 Sep 1994 19:38:13 +0000 |
parents | 9b930afbf477 |
children | e77b62b20824 |
files | scripts/startup/Makefile.in scripts/startup/octaverc |
diffstat | 2 files changed, 83 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/scripts/startup/Makefile.in @@ -0,0 +1,79 @@ +# +# Makefile for octave's scripts/startup directory +# +# John W. Eaton +# jwe@che.utexas.edu +# Department of Chemical Engineering +# The University of Texas at Austin + +TOPDIR = ../.. + +script_sub_dir = startup + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + +include $(TOPDIR)/Makeconf + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ + +SOURCES = octaverc # *.m + +DISTFILES = Makefile.in $(SOURCES) + +FCN_FILES = # $(wildcard $(srcdir)/*.m) +FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES)) + +all: +.PHONY: all + +install: all + if test -d $(fcnfiledir)/$(script_sub_dir) ; then true ; \ + else $(TOPDIR)/mkpath $(fcnfiledir)/$(script_sub_dir) ; fi + if test -f $(fcnfiledir)/$(script_sub_dir)/octaverc ; then true ; \ + else \ + $(INSTALL_DATA) $(srcdir)/octaverc \ + $(fcnfiledir)/$(script_sub_dir)/octaverc ; \ + fi +# 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 + +realclean: distclean + rm -f tags TAGS +.PHONY: realclean + +local-dist: + ln $(DISTFILES) ../../`cat ../../.fname`/scripts/startup +.PHONY: local-dist + +dist: + ln $(DISTFILES) ../../`cat ../../.fname`/scripts/startup +.PHONY: dist