1
# Makefile for octave's scripts/finance directory
3
# Copyright (C) 1999, 2002, 2005, 2006, 2007 John W. Eaton
5
# This file is part of Octave.
7
# Octave is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by the
9
# Free Software Foundation; either version 3 of the License, or (at
10
# your option) any later version.
12
# Octave is distributed in the hope that it will be useful, but WITHOUT
13
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17
# You should have received a copy of the GNU General Public License
18
# along with Octave; see the file COPYING. If not, see
19
# <http://www.gnu.org/licenses/>.
23
script_sub_dir = finance
26
top_srcdir = @top_srcdir@
29
include $(TOPDIR)/Makeconf
32
INSTALL_PROGRAM = @INSTALL_PROGRAM@
33
INSTALL_DATA = @INSTALL_DATA@
35
SOURCES = fv.m fvl.m irr.m nper.m npv.m pmt.m pv.m pvl.m rate.m vol.m
37
DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES))
39
FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES))
40
FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
45
install install-strip:
47
.PHONY: install install-strip
50
$(do-script-uninstall)
57
@echo "making PKG_ADD"
70
rm -f Makefile PKG_ADD
73
maintainer-clean: distclean
75
.PHONY: maintainer-clean
78
ln $(DISTFILES) ../../`cat ../../.fname`/scripts/finance