~ubuntu-branches/debian/sid/octave3.0/sid

« back to all changes in this revision

Viewing changes to scripts/finance/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2007-12-23 16:04:15 UTC
  • Revision ID: james.westby@ubuntu.com-20071223160415-n4gk468dihy22e9v
Tags: upstream-3.0.0
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for octave's scripts/finance directory
 
2
#
 
3
# Copyright (C) 1999, 2002, 2005, 2006, 2007 John W. Eaton
 
4
#
 
5
# This file is part of Octave.
 
6
 
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.
 
11
 
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
 
15
# for more details.
 
16
 
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/>.
 
20
 
 
21
TOPDIR = ../..
 
22
 
 
23
script_sub_dir = finance
 
24
 
 
25
srcdir = @srcdir@
 
26
top_srcdir = @top_srcdir@
 
27
VPATH = @srcdir@
 
28
 
 
29
include $(TOPDIR)/Makeconf
 
30
 
 
31
INSTALL = @INSTALL@
 
32
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
33
INSTALL_DATA = @INSTALL_DATA@
 
34
 
 
35
SOURCES = fv.m fvl.m irr.m nper.m npv.m pmt.m pv.m pvl.m rate.m vol.m
 
36
 
 
37
DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES))
 
38
 
 
39
FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES))
 
40
FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
41
 
 
42
all: PKG_ADD
 
43
.PHONY: all
 
44
 
 
45
install install-strip:
 
46
        $(do-script-install)
 
47
.PHONY: install install-strip
 
48
 
 
49
uninstall:
 
50
        $(do-script-uninstall)
 
51
.PHONY: uninstall
 
52
 
 
53
clean:
 
54
.PHONY: clean
 
55
 
 
56
PKG_ADD: $(FCN_FILES)
 
57
        @echo "making PKG_ADD"
 
58
        @$(do-mkpkgadd)
 
59
 
 
60
tags: $(SOURCES)
 
61
        ctags $(SOURCES)
 
62
 
 
63
TAGS: $(SOURCES)
 
64
        etags $(SOURCES)
 
65
 
 
66
mostlyclean: clean
 
67
.PHONY: mostlyclean
 
68
 
 
69
distclean: clean
 
70
        rm -f Makefile PKG_ADD
 
71
.PHONY: distclean
 
72
 
 
73
maintainer-clean: distclean
 
74
        rm -f tags TAGS
 
75
.PHONY: maintainer-clean
 
76
 
 
77
dist:
 
78
        ln $(DISTFILES) ../../`cat ../../.fname`/scripts/finance
 
79
.PHONY: dist