1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
#
# Makefile for octave's scripts/startup directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering
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))
BINDISTFILES = $(srcdir)/octaverc
all:
.PHONY: all
install:
$(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir)
if test -f $(fcnfiledir)/$(script_sub_dir)/octaverc ; then true ; \
else \
$(INSTALL_DATA) $(srcdir)/octaverc \
$(fcnfiledir)/$(script_sub_dir)/octaverc ; \
fi
$(top_srcdir)/mkinstalldirs $(localfcnfiledir)/$(script_sub_dir)
if test -f $(localfcnfiledir)/$(script_sub_dir)/octaverc ; \
then true ; \
else \
$(INSTALL_DATA) $(srcdir)/octaverc \
$(localfcnfiledir)/$(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
maintainer-clean: distclean
rm -f tags TAGS
.PHONY: maintainer-clean
dist:
ln $(DISTFILES) ../../`cat ../../.fname`/scripts/startup
.PHONY: dist
bin-dist:
ln $(BINDISTFILES) ../../`cat ../../.fname`/scripts/startup
.PHONY: bin-dist
|