~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to support-files/include.am

  • Committer: Brian Aker
  • Date: 2010-02-10 09:07:38 UTC
  • mto: This revision was merged to the branch mainline in revision 1288.
  • Revision ID: brian@gaz-20100210090738-nis7z6waj8j0qtwh
Added very basic RPM support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vim:ft=automake
 
2
 
1
3
# Copyright (C) 2000-2001, 2003-2006 MySQL AB
 
4
# Copyright (C) Brian Aker
2
5
#
3
6
# This library is free software; you can redistribute it and/or
4
7
# modify it under the terms of the GNU Library General Public
25
28
pkgsupp_SCRIPTS =       support-files/drizzle.server 
26
29
 
27
30
 
28
 
EXTRA_DIST += \
29
 
        support-files/smf/install.sh \
30
 
        support-files/smf/drizzle.xml \
31
 
        support-files/smf/drizzle
 
31
EXTRA_DIST+= \
 
32
             support-files/smf/drizzle \
 
33
             support-files/smf/drizzle.xml \
 
34
             support-files/smf/install.sh \
 
35
             support-files/drizzle.spec
 
36
generic_rpm:
 
37
        rm -f ~/rpmbuild/RPMS/x86_64/drizzle-$(VERSION)*.rpm
 
38
        rm -f ~/rpmbuild/SRPMS/drizzle-$(VERSION)*.rpm
 
39
        cp drizzle-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
 
40
        rpmbuild -ba support-files/drizzle.spec
 
41
        cp ~/rpmbuild/RPMS/x86_64/drizzle-$(VERSION)*.rpm .
 
42
        cp ~/rpmbuild/SRPMS/drizzle-$(VERSION)*.rpm .
 
43
 
 
44
rpm: dist generic_rpm
32
45