~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to examples/tcl/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#
20
20
# You should have received a copy of the GNU Library General Public License
21
21
# along with the file; if not, write to the Free Software
22
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 
22
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
23
23
 
24
24
if enable_tcl
25
25
 
26
26
examples_tcldir = $(DATA_DIR)/examples/tcl
27
27
 
28
28
if enable_itcl
29
 
  mkindex = $(top_builddir)/scripts/mktclIndex -itcl
 
29
  mkindex = ../../scripts/mktclIndex -itcl
30
30
else
31
 
  mkindex = $(top_builddir)/scripts/mktclIndex -tcl
 
31
  mkindex = ../../scripts/mktclIndex -tcl
32
32
endif
33
33
 
 
34
 
34
35
dist_examples_tcl_DATA = \
35
36
        README.tcldemos \
36
37
        plgrid.tcl \
60
61
        x19.tcl \
61
62
        x22.tcl 
62
63
 
63
 
nodist_examples_tcl_DATA = tclIndex
 
64
nodist_examples_tcl_DATA = $(top_srcdir)/examples/tcl/tclIndex
64
65
 
65
66
dist_examples_tcl_SCRIPTS = \
66
67
        x01 \
84
85
        x19 \
85
86
        x22
86
87
 
87
 
tclIndex:
 
88
$(top_srcdir)/examples/tcl/tclIndex:
 
89
        cd $(top_srcdir)/examples/tcl ; \
88
90
        $(mkindex)
89
91
 
90
 
CLEANFILES = tclIndex
 
92
CLEANFILES = $(top_srcdir)/examples/tcl/tclIndex
 
93
 
 
94
check_DATA = \
 
95
        .check
 
96
 
 
97
.check: $(dist_examples_tcl_SCRIPTS) $(dist_examples_tcl_DATA)
 
98
        ( if [ ! -f x01 ] ; then \
 
99
         cd $(top_srcdir)/examples/tcl ; \
 
100
         for file in $(dist_examples_tcl_SCRIPTS) $(dist_examples_tcl_DATA) ; do \
 
101
           rm -f $(BUILD_DIR)/examples/tcl/$$file; $(LN_S) $(top_srcdir)/examples/tcl/$$file $(BUILD_DIR)/examples/tcl/$$file ; \
 
102
         done ; \
 
103
         fi )
 
104
        touch .check 
91
105
 
92
106
endif