/[hyperestraier]/upstream/0.5.3/ruby/Makefile.in
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /upstream/0.5.3/ruby/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations)
Wed Aug 3 15:25:48 2005 UTC (18 years, 11 months ago) by dpavlin
File size: 2531 byte(s)
import of upstream 0.5.3

1 # Makefile for the Ruby binding of Hyper Estraier
2
3
4
5 #================================================================
6 # Setting Variables
7 #================================================================
8
9
10 # Generic settings
11 SHELL = @SHELL@
12
13 # Packaging
14 PACKAGE = hyperestraier
15
16 # Targets
17 MYRUBYS = estraier.rb estcall.rb
18
19 # Install destinations
20 prefix = @prefix@
21 exec_prefix = @exec_prefix@
22 MYRBLIBDIR = @MYRBLIBDIR@
23 DESTDIR =
24
25 # Building binaries
26 RUBY = @RUBY@
27 RDOC = @RDOC@
28
29
30
31 #================================================================
32 # Actions
33 #================================================================
34
35
36 all :
37 @printf '\n'
38 @printf '#================================================================\n'
39 @printf '# Ready to install.\n'
40 @printf '#================================================================\n'
41
42
43 clean :
44 rm -rf casket *~
45
46
47 install :
48 mkdir -p $(DESTDIR)$(MYRBLIBDIR)
49 cp -Rf $(MYRUBYS) $(DESTDIR)$(MYRBLIBDIR)
50 @printf '\n'
51 @printf '#================================================================\n'
52 @printf '# Thanks for using Hyper Estraier for Java.\n'
53 @printf '#================================================================\n'
54
55
56 uninstall :
57 cd $(DESTDIR)$(MYRBLIBDIR) && rm -f $(MYRUBYS)
58
59
60 dist :
61 autoconf
62 make doc
63 make distclean
64
65
66 distclean : clean
67 cd example && make clean
68 rm -rf Makefile config.cache config.log config.status autom4te.cache
69
70
71 check :
72 $(RUBY) -I. -w -d estcall.rb put -auth admin admin \
73 "http://localhost:1978/node/sample1" ../misc/test001.est
74 $(RUBY) -I. -w -d estcall.rb put -auth admin admin \
75 "http://localhost:1978/node/sample1" ../misc/test002.est
76 $(RUBY) -I. -w -d estcall.rb out -auth admin admin \
77 "http://localhost:1978/node/sample1" 1
78 $(RUBY) -I. -w -d estcall.rb get \
79 "http://localhost:1978/node/sample1" 2
80 $(RUBY) -I. -w -d estcall.rb inform \
81 "http://localhost:1978/node/sample1"
82 $(RUBY) -I. -w -d estcall.rb search \
83 "http://localhost:1978/node/sample1" "mikio"
84 $(RUBY) -I. -w -d estcall.rb search -attr "@uri" -ord "@title" \
85 "http://localhost:1978/node/sample1" "i"
86 $(RUBY) -I. -w -d estcall.rb setuser -auth admin admin \
87 "http://localhost:1978/node/sample1" mikio 1
88 $(RUBY) -I. -w -d estcall.rb setlink -auth admin admin \
89 "http://localhost:1978/node/sample1" "http://localhost:1978/node/sample2" \
90 "Sample2" 10
91
92
93 doc :
94 make docclean
95 $(RDOC) -t estraier -o ../doc/rbapidoc estraier.rb
96
97
98 docclean :
99 rm -rf ../doc/rbapidoc
100
101
102 .PHONY : all clean install casket check
103
104
105
106 # END OF FILE

  ViewVC Help
Powered by ViewVC 1.1.26