File: Makefile.am

package info (click to toggle)
cdo 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,964 kB
  • sloc: cpp: 180,221; ansic: 95,352; sh: 7,292; f90: 6,089; makefile: 1,975; ruby: 1,078; csh: 1,020; python: 995; fortran: 319; pascal: 219; perl: 9
file content (25 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
EXTRA_DIST = makecompl.rb cdoCompletion.bash cdoCompletion.tcsh cdoCompletion.zsh
CLEANFILES =
DISTCLEANFILES = `ls cdoCompletion.*`

completions:
	if hash ruby >/dev/null 2>&1 ; then \
	  ruby -KN $(srcdir)/makecompl.rb -o cdoCompletion; \
	fi

cdoCompletion.bash cdoCompletion.zsh cdoCompletion.tcsh: completions

test:
	if hash ruby >/dev/null 2>&1 ; then \
	    cd ruby;ruby test/test_cdo.rb \
	fi
	if hash python >/dev/null 2>&1 ; then \
	    cd python; python test/test_cdo.py \
	fi


if MAINTAINER_MODE
all-local: completions

CLEANFILES += $(DISTCLEANFILES)
endif