~mterry/ubuntu/natty/libofx/libofx.new-upstream-benoit-sru

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
if BUILD_OFXCONNECT
       MAYBE_OFXCONNECT = ofxconnect
endif
SUBDIRS = inc dtd lib doc . ofx2qif ofxdump $(MAYBE_OFXCONNECT)

docdir = ${prefix}/share/doc/libofx

doc_DATA = \
  AUTHORS \
  COPYING \
  INSTALL \
  NEWS \
  README \
  ChangeLog \
  totest.txt

EXTRA_DIST = \
  libofx.spec.in \
  libofx.spec \
  libofx.pc \
  totest.txt \
  libofx.lsm

pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA=libofx.pc

.PHONY: doc
doc:
	$(MAKE) -C doc doc

rpm:    $(PACKAGE).spec dist
	rpmbuild="rpm" && \
	if [ `rpm --version | awk '{ print $$3 }'` > /dev/null ]; then rpmbuild="rpmbuild"; fi && \
	$$rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz