source: branches/1.4-release/examples/zoo/image/Makefile.in @ 5865

Last change on this file since 5865 was 5865, checked in by gah, 8 years ago

fix Makefiles for installing python examples

File size: 895 bytes
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9srcdir          = @srcdir@
10prefix          = @prefix@
11
12INSTALL         = @INSTALL@
13MKDIR_P         = @MKDIR_P@
14VPATH           = $(srcdir)
15RM              = rm -f
16
17FILES           = \
18                $(srcdir)/image.py \
19                $(srcdir)/image.tcl \
20                $(srcdir)/image1.gif \
21                $(srcdir)/image2.gif \
22                $(srcdir)/tool.xml
23
24destdir         = $(prefix)/examples/zoo/image
25
26.PHONY: all install clean distclean
27
28all:
29        $(MAKE) -C examples all
30        $(MAKE) -C docs all
31
32install:
33        $(MKDIR_P) -m 0755 $(destdir)
34        for i in $(FILES) ; do \
35          $(INSTALL) -m 0444  $$i $(destdir) ; \
36        done
37        $(MAKE) -C examples install
38        $(MAKE) -C docs install
39
40clean:
41        $(MAKE) -C examples clean
42        $(MAKE) -C docs clean
43
44distclean:
45        $(MAKE) -C examples distclean
46        $(MAKE) -C docs distclean
47        $(RM) Makefile *~
Note: See TracBrowser for help on using the repository browser.