~ubuntu-branches/ubuntu/precise/libdbi-drivers/precise

« back to all changes in this revision

Viewing changes to drivers/firebird/Makefile.am

  • Committer: Stefano Rivera
  • Date: 2010-08-07 14:06:29 UTC
  • mfrom: (5.1.1 libdbi-drivers)
  • Revision ID: stefanor@ubuntu.com-20100807140629-dshfwn5j6v34pqrd
Tags: 0.8.3-1-0ubuntu1
New upstream release. -- Fixes ABORT problems with sqlite3+rrdtool

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
if HAVE_FIREBIRD_INTERBASE
6
6
 
 
7
if BUILDDOCS
 
8
# don't use docdir, doc_DATA. This way we keep the HTML in separate subdirs
 
9
# for each driver
 
10
docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
 
11
htmldir = $(docdir)/dbd_firebird
 
12
doc_DATA = dbd_firebird.pdf
 
13
html_DATA = dbd_firebird/* 
 
14
else
 
15
docdir =
 
16
htmldir =
 
17
doc_DATA =
 
18
html_DATA =
 
19
endif
 
20
 
7
21
firebird_ltlibs = libdbdfirebird.la
8
22
firebird_ldflags = -module -avoid-version
9
23
firebird_sources = dbd_firebird.c utility.c 
24
38
libdbdfirebird_la_SOURCES = $(firebird_sources)
25
39
libdbdfirebird_la_DEPENDENCIES = dbd_firebird.h utility.h firebird_charsets.h
26
40
 
27
 
EXTRA_DIST = dbd_firebird.c utility.c dbd_firebird.h utility.h firebird_charsets.h
 
41
EXTRA_DIST = dbd_firebird.c utility.c dbd_firebird.h utility.h firebird_charsets.h dbd_firebird.sgml dbd_firebird.pdf $(html_data)
 
42
 
 
43
# jadetex spews out tons of useless crap. shut it up:
 
44
dbd_firebird.pdf: dbd_firebird.sgml
 
45
        @echo "Converting dbd_firebird.sgml to PDF...";
 
46
        openjade -t tex -V tex-backend -d $(top_srcdir)/doc/include/doc-print.dsl dbd_firebird.sgml
 
47
# run jadetex three times to get the references right
 
48
        pdftex "&pdfjadetex" dbd_firebird.tex
 
49
        pdftex "&pdfjadetex" dbd_firebird.tex
 
50
        pdftex "&pdfjadetex" dbd_firebird.tex
 
51
 
 
52
dbd_firebird/*: dbd_firebird.sgml
 
53
        @echo "Converting dbd_firebird.sgml to HTML...";
 
54
        mkdir -p dbd_firebird && cd dbd_firebird && openjade -t sgml -d $(top_srcdir)/../doc/include/doc-html.dsl ../dbd_firebird.sgml
 
55
 
 
56
 
 
57
maintainer-clean: clean
 
58
        rm -f dbd_firebird.pdf dbd_firebird/*
 
59