/[MITgcm]/mitgcm.org/devel/buildweb/pkg/swish-e/Makefile.in
ViewVC logotype

Contents of /mitgcm.org/devel/buildweb/pkg/swish-e/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Fri Sep 20 19:47:29 2002 UTC (21 years, 7 months ago) by adcroft
Branch: Import, MAIN
CVS Tags: baseline, HEAD
Changes since 1.1: +0 -0 lines
Importing web-site building process.

1 # Makefile for swish-e 2.1
2 #
3 # Bas Meijer, bas@antraciet.com 11 Dec 2000
4
5 # $Id: Makefile.in,v 1.12 2001/10/06 05:31:40 whmoseley Exp $
6
7 PROJECT = @PROJECT@
8 VERSION = @VERSION@
9
10 SHELL = /bin/sh
11 srcdir = @srcdir@
12 VPATH = $(srcdir)
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15 bindir = $(prefix)/bin
16 mandir = $(prefix)/man/man1
17 PERL = @PERL@
18 libdir = @libdir@
19 @SET_MAKE@
20
21
22 #-- for making distribution --- (should let ./configure find these programs)
23 DIST_DEFAULT= tardist
24 TAR = tar
25 TARFLAGS = cvf
26 COMPRESS = gzip
27 RM_RF = rm -rf
28 DISTVNAME = $(PROJECT)-$(VERSION)
29 SUFFIX = gz
30
31 #-- for building code, testing, and installing --
32
33 all: swish-e swish-search
34 @echo -e '\nNow make test\n'
35
36 swish-e:
37 @echo 'making swish-e'
38 (cd src; $(MAKE))
39 @echo 'swish-e done'
40
41 swish-search: swish-e
42 @echo 'making swish-search'
43 cp -f src/swish-e src/swish-search
44 @echo 'swish-search done'
45
46
47 perllib:
48 @echo 'making Perl library for Swish-E'
49 (cd perl;$(PERL) Makefile.PL PREFIX=$(libdir);$(MAKE))
50
51 test:
52 (cd src; $(MAKE) test)
53
54 install:
55 cp src/swish-e $(bindir)/swish-e
56
57 install-lib:
58 cp src/libswish-e.a $(libdir)/libswish-e.a
59
60
61 #-- Cleanup tags --
62
63 clean:
64 -(cd src; $(MAKE) clean)
65 -(cd perl; $(MAKE) clean)
66 -(cd doc; $(MAKE) clean)
67
68 realclean: clean
69 rm -f config.cache config.log config.status Makefile
70 -(cd src; $(MAKE) realclean)
71 -(cd perl; $(MAKE) realclean)
72 -(cd doc; $(MAKE) realclean)
73
74
75 #-- Documentation --
76 docs:
77 $(RM_RF) html
78 (cd doc; $(MAKE) all)
79
80 pdf:
81 (cd doc; $(MAKE) pdf)
82
83 install-man:
84 (cd doc; $(MAKE) install-man)
85
86 #---- Distribution --------
87
88 distclean :: realclean distcheck
89
90 distcheck :
91 $(PERL) -MExtUtils::Manifest=fullcheck \
92 -e fullcheck
93
94 skipcheck :
95 $(PERL) -MExtUtils::Manifest=skipcheck \
96 -e skipcheck
97
98 distdir :
99 $(RM_RF) $(DISTVNAME)
100 $(PERL) -MExtUtils::Manifest=manicopy,maniread \
101 -e "manicopy(maniread(),'$(DISTVNAME)', 'best');"
102
103 $(DISTVNAME).tar$(SUFFIX) : distdir
104 $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
105 $(RM_RF) $(DISTVNAME)
106 $(COMPRESS) $(DISTVNAME).tar
107
108 tardist : $(DISTVNAME).tar$(SUFFIX)
109
110 dist : docs $(DIST_DEFAULT)
111
112 disttoday : docs distdir
113 $(TAR) $(TARFLAGS) $(DISTVNAME)-`/bin/date +'%Y-%m-%d'`.tar $(DISTVNAME)
114 $(RM_RF) $(DISTVNAME)
115 $(COMPRESS) $(DISTVNAME)-`/bin/date +'%Y-%m-%d'`.tar
116
117

  ViewVC Help
Powered by ViewVC 1.1.22