forked from tinco/ruby-monetdb-xquery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
49 lines (44 loc) · 2.05 KB
/
Makefile.am
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
## This file is generated by autogen.py, do not edit
## Process this file with automake to produce Makefile.in
## autogen includes dependencies so automake doesn't need to generated them
AUTOMAKE_OPTIONS = no-dependencies 1.4 foreign
if NEED_MX
NEED_MX = 1
endif
SUBDIRS = adapter
dist-hook:
mkdir -p $(distdir)/examples
cp -pR $(srcdir)/examples/* $(distdir)/examples
find $(distdir)/examples -depth -name CVS -exec rm -rf {} \;
find $(distdir)/examples -perm -0100 -type f ! -name \*.bat ! -name \*.sh ! -exec grep -q '^#!' {} \; -exec chmod a-x {} \;
mkdir -p $(distdir)/lib
cp -pR $(srcdir)/lib/* $(distdir)/lib
find $(distdir)/lib -depth -name CVS -exec rm -rf {} \;
find $(distdir)/lib -perm -0100 -type f ! -name \*.bat ! -name \*.sh ! -exec grep -q '^#!' {} \; -exec chmod a-x {} \;
if HAVE_RUBYGEM
all-local-gem_monetdb: ruby-monetdb-sql-0.1.gem
ruby-monetdb-sql-0.1.gem: ruby-monetdb-sql-0.1.gemspec
d=$(dir $<); [ "$$d" -ef . ] || (cd "$$d"; tar cf - ruby-monetdb-sql-0.1.gemspec `sed -n '/.*\.files *= *\[ */{s///;s/ *\].*//;s/"//g;s/ *, */ /g;p;}' "ruby-monetdb-sql-0.1.gemspec"`) | tar xf -
gem build ruby-monetdb-sql-0.1.gemspec
install-exec-local-ruby-monetdb-sql-0_1_gemspec: ruby-monetdb-sql-0.1.gem
mkdir -p $(DESTDIR)$(prefix)/$(RUBY_DIR)
gem install --local --install-dir $(DESTDIR)$(prefix)/$(RUBY_DIR) --force --rdoc ruby-monetdb-sql-0.1.gem
uninstall-exec-local-ruby-monetdb-sql-0_1_gemspec: ruby-monetdb-sql-0.1.gem
gem uninstall --install-dir $(DESTDIR)$(prefix)/$(RUBY_DIR) ruby-monetdb-sql-0.1.gem
else
install-exec-local-ruby-monetdb-sql-0_1_gemspec:
uninstall-exec-local-ruby-monetdb-sql-0_1_gemspec:
endif
INCLUDES = -I$(srcdir)
BUILT_SOURCES =
MOSTLYCLEANFILES =
EXTRA_DIST = Makefile.msc Changelog README TODO ruby-monetdb-sql-0.1.gemspec $(BUILT_SOURCES)
uninstall-local: uninstall-local-ruby-monetdb-sql-0_1_gemspec
install-exec-local: install-exec-local-ruby-monetdb-sql-0_1_gemspec
all-local: all-local-gem_monetdb
if HAVE_BUILDTOOLS
include $(BUILDTOOLS_CONFDIR)/rules.mk
endif
if HAVE_EXTRA_MK
include $(top_builddir)/extra.mk
endif