File: Makefile.am

package info (click to toggle)
mysql++ 2.0.7-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,548 kB
  • ctags: 2,792
  • sloc: cpp: 35,566; sh: 8,517; xml: 2,769; perl: 752; makefile: 178
file content (92 lines) | stat: -rw-r--r-- 2,457 bytes parent folder | download
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with MySQL++; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
# USA

EXTRA_DIST = \
	CREDITS \
	HACKERS \
	LICENSE \
	README.* \
	Wishlist \
	bootstrap \
	buildmf.bat \
	common.am \
	config/*.m4 \
	doc/mysqlpp-refman.pdf \
	doc/mysqlpp-userman.pdf \
	doc/README* \
	doc/ssqls-pretty \
	doc/refman/html/*.css \
	doc/refman/html/*.html \
	doc/refman/html/*.png \
	doc/userman/*.xml \
	doc/userman/*.xsl \
	doc/userman/mktxt \
	doc/userman/html/*.css \
	doc/userman/html/*.html \
	doc/userman/Makefile \
	doc/userman/README \
	install.bat \
	libmysqlclient.def \
	makemake.* \
	mkbindirs.bat \
	reconf \
	*.ebuild \
	*.spec

#SUBDIRS = lib examples doc
SUBDIRS = lib @OPTIONAL_EXAMPLES@

# Override default aclocal command, to force it to look in config subdir
# for *.m4 macros when automatically rebuilding configure script when
# configure.in file changes.
ACLOCAL=aclocal -I config


rpm-setup: dist
	cp $(distdir).tar.gz /usr/src/redhat/SOURCES
	cp mysql++.spec /usr/src/redhat/SPECS

rpm: rpm-setup
	( cd /usr/src/redhat/SPECS ; rpmbuild -bb mysql++.spec )

srpm: rpm-setup
	( cd /usr/src/redhat/SPECS ; rpmbuild -bs mysql++.spec )

ebuild: dist
	cp $(distdir).tar.gz /usr/portage/distfiles
	cp mysql++.ebuild /usr/portage/dev-db/mysql++/$(distdir).ebuild
	ebuild /usr/portage/dev-db/mysql++/$(distdir).ebuild digest

docs: doc/mysqlpp-refman.pdf doc/mysqlpp-userman.pdf


doc/mysqlpp-refman.pdf: lib/*.h
	( cd lib ; make refman )

doc/mysqlpp-userman.pdf: doc/userman/userman.xml
	rm -f doc/userman/*.txt
	( cd doc/userman ; make && make pdf )

tags: ctags

ctags:
	find . -name TAGS -o -name tags -exec rm {} \;
	ctags `pwd`/*/*.cpp `pwd`/*/*.h
	find . -type d -mindepth 1 -exec ln tags {} \;

clean-local:
	( cd lib ; make clean-docs )
	( cd doc/userman ; make clean )
	find . -name tags -exec rm {} \;