1286.1.2
by Brian Aker
Added very basic RPM support. |
1 |
# vim:ft=automake |
2 |
||
1
by brian
clean slate |
3 |
# Copyright (C) 2000-2001, 2003-2006 MySQL AB |
1286.1.2
by Brian Aker
Added very basic RPM support. |
4 |
# Copyright (C) Brian Aker |
1
by brian
clean slate |
5 |
#
|
6 |
# This library is free software; you can redistribute it and/or |
|
7 |
# modify it under the terms of the GNU Library General Public |
|
8 |
# License as published by the Free Software Foundation; version 2 |
|
9 |
# of the License. |
|
10 |
#
|
|
11 |
# This library is distributed in the hope that it will be useful, |
|
12 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 |
# Library General Public License for more details. |
|
15 |
#
|
|
16 |
# You should have received a copy of the GNU Library General Public |
|
17 |
# License along with this library; if not, write to the Free |
|
1802.10.2
by Monty Taylor
Update all of the copyright headers to include the correct address. |
18 |
# Software Foundation, Inc., 51 Franklin Place - Suite 330, Boston, |
19 |
# MA 02110-1301, USA |
|
1
by brian
clean slate |
20 |
|
1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
21 |
pkgconfigdir= $(libdir)/pkgconfig |
22 |
pkgconfig_DATA= support-files/libdrizzle.pc |
|
1
by brian
clean slate |
23 |
|
24 |
# Default same as 'pkgdatadir', but we can override it |
|
25 |
pkgsuppdir = $(datadir)/@PACKAGE@ |
|
26 |
||
1192.3.55
by Robert Collins
Merged from Robert: changed subdir make files to be included makefiles. |
27 |
pkgsupp_DATA = support-files/drizzle-log-rotate |
1
by brian
clean slate |
28 |
|
1192.3.55
by Robert Collins
Merged from Robert: changed subdir make files to be included makefiles. |
29 |
pkgsupp_SCRIPTS = support-files/drizzle.server |
1
by brian
clean slate |
30 |
|
31 |
||
1286.1.2
by Brian Aker
Added very basic RPM support. |
32 |
EXTRA_DIST+= \ |
33 |
support-files/smf/drizzle \ |
|
34 |
support-files/smf/drizzle.xml \ |
|
35 |
support-files/smf/install.sh \ |
|
36 |
support-files/drizzle.spec |
|
37 |
generic_rpm: |
|
38 |
rm -f ~/rpmbuild/RPMS/x86_64/drizzle-$(VERSION)*.rpm |
|
39 |
rm -f ~/rpmbuild/SRPMS/drizzle-$(VERSION)*.rpm |
|
40 |
cp drizzle-$(VERSION).tar.gz ~/rpmbuild/SOURCES/ |
|
41 |
rpmbuild -ba support-files/drizzle.spec |
|
42 |
cp ~/rpmbuild/RPMS/x86_64/drizzle-$(VERSION)*.rpm . |
|
43 |
cp ~/rpmbuild/SRPMS/drizzle-$(VERSION)*.rpm . |
|
44 |
||
45 |
rpm: dist generic_rpm |
|
312.1.14
by Monty Taylor
Fixed bug#257694 - added various files to EXTRA_DIST and noinst_HEADERS to make make distcheck (and with-it out-of-tree builds) work. |
46 |