Mercurial > octave-nkf
annotate scripts/image/Makefile.in @ 8920:eb63fbe60fab
update copyright notices
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 07 Mar 2009 10:41:27 -0500 |
parents | 01fac748b680 |
children |
rev | line source |
---|---|
681 | 1 # Makefile for octave's scripts/image directory |
2 # | |
8920 | 3 # Copyright (C) 1994, 1995, 1996, 1997, 2002, 2003, 2005, 2006, 2007, 2008 |
7017 | 4 # John W. Eaton |
5 # | |
7016 | 6 # This file is part of Octave. |
7 # | |
8 # Octave is free software; you can redistribute it and/or modify it | |
9 # under the terms of the GNU General Public License as published by the | |
10 # Free Software Foundation; either version 3 of the License, or (at | |
11 # your option) any later version. | |
12 # | |
13 # Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 # for more details. | |
17 # | |
18 # You should have received a copy of the GNU General Public License | |
19 # along with Octave; see the file COPYING. If not, see | |
20 # <http://www.gnu.org/licenses/>. | |
681 | 21 |
682 | 22 TOPDIR = ../.. |
681 | 23 |
24 script_sub_dir = image | |
25 | |
26 srcdir = @srcdir@ | |
27 top_srcdir = @top_srcdir@ | |
28 VPATH = @srcdir@ | |
29 | |
30 include $(TOPDIR)/Makeconf | |
31 | |
32 INSTALL = @INSTALL@ | |
33 INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
34 INSTALL_DATA = @INSTALL_DATA@ | |
35 | |
6788 | 36 SOURCES = __img__.m __img_via_file__.m autumn.m bone.m brighten.m colormap.m \ |
7633
ba15376ddfe1
Add the contrast function
David Bateman <dbateman@free.fr>
parents:
7189
diff
changeset
|
37 contrast.m cool.m copper.m flag.m gmap40.m gray.m gray2ind.m hot.m hsv.m \ |
8144
01fac748b680
Add the 'imfinfo' function for reading image file information.
sh@sh-laptop
parents:
7974
diff
changeset
|
38 hsv2rgb.m image.m image_viewer.m imagesc.m imfinfo.m imread.m imshow.m \ |
01fac748b680
Add the 'imfinfo' function for reading image file information.
sh@sh-laptop
parents:
7974
diff
changeset
|
39 imwrite.m ind2gray.m ind2rgb.m jet.m ntsc2rgb.m ocean.m pink.m prism.m \ |
01fac748b680
Add the 'imfinfo' function for reading image file information.
sh@sh-laptop
parents:
7974
diff
changeset
|
40 rainbow.m rgb2hsv.m rgb2ind.m rgb2ntsc.m saveimage.m spring.m summer.m \ |
01fac748b680
Add the 'imfinfo' function for reading image file information.
sh@sh-laptop
parents:
7974
diff
changeset
|
41 white.m winter.m |
6283 | 42 |
43 IMAGES = default.img | |
681 | 44 |
6808 | 45 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES) $(IMAGES)) |
681 | 46 |
6283 | 47 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
681 | 48 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
49 | |
5597 | 50 all: PKG_ADD |
681 | 51 .PHONY: all |
52 | |
2811 | 53 install install-strip: |
4225 | 54 $(do-script-install) |
4413 | 55 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(imagedir) |
6808 | 56 for f in $(IMAGES); do \ |
4413 | 57 rm -f $(DESTDIR)$(imagedir)/$$f; \ |
58 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(imagedir)/$$f; \ | |
686 | 59 done |
4413 | 60 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(archlibdir) |
2811 | 61 .PHONY: install install-strip |
681 | 62 |
63 uninstall: | |
4225 | 64 $(do-script-uninstall) |
6808 | 65 for f in $(IMAGES); \ |
4413 | 66 do rm -f $(DESTDIR)$(imagedir)/$$f; \ |
686 | 67 done |
681 | 68 .PHONY: uninstall |
69 | |
70 clean: | |
71 .PHONY: clean | |
72 | |
5597 | 73 PKG_ADD: $(FCN_FILES) |
74 @echo "making PKG_ADD" | |
75 @$(do-mkpkgadd) | |
76 | |
681 | 77 tags: $(SOURCES) |
78 ctags $(SOURCES) | |
79 | |
80 TAGS: $(SOURCES) | |
81 etags $(SOURCES) | |
82 | |
83 mostlyclean: clean | |
84 .PHONY: mostlyclean | |
85 | |
86 distclean: clean | |
5866 | 87 rm -f Makefile PKG_ADD |
681 | 88 .PHONY: distclean |
89 | |
1391 | 90 maintainer-clean: distclean |
681 | 91 rm -f tags TAGS |
1391 | 92 .PHONY: maintainer-clean |
681 | 93 |
94 dist: | |
6467 | 95 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/image |
681 | 96 .PHONY: dist |
7698
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7633
diff
changeset
|
97 |
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7633
diff
changeset
|
98 check-m-sources: |
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7633
diff
changeset
|
99 @$(do-check-m-sources) |
4584feed3ec4
check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents:
7633
diff
changeset
|
100 .PHONY: check-m-sources |