PageRenderTime 29ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/Makefile.am

http://scim-python.googlecode.com/
Makefile | 75 lines | 42 code | 9 blank | 24 comment | 5 complexity | 6d1ee6bb88f247a95bae4275ce77e747 MD5 | raw file
  1. # vim:set noet ts=4:
  2. #
  3. # scim-python
  4. #
  5. # Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com>
  6. #
  7. #
  8. # This library is free software; you can redistribute it and/or
  9. # modify it under the terms of the GNU Lesser General Public
  10. # License as published by the Free Software Foundation; either
  11. # version 2 of the License, or (at your option) any later version.
  12. #
  13. # This library is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU Lesser General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Lesser General Public
  19. # License along with this program; if not, write to the
  20. # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  21. # Boston, MA 02111-1307 USA
  22. #
  23. # $Id: $
  24. #
  25. SUBDIRS = src python data po m4
  26. ACLOCAL_AMFLAGS = -I m4
  27. EXTRA_DIST = \
  28. autogen.sh \
  29. config.rpath \
  30. python-config.py \
  31. LICENSE.Python \
  32. $(NULL)
  33. noinst_DIST = \
  34. scim-python.sepc.in \
  35. $(NULL)
  36. DISTCLEANFILES = \
  37. po/stamp-it
  38. rpm: dist scim-python.spec
  39. rpmbuild -bb \
  40. --define "_sourcedir `pwd`" \
  41. --define "_builddir `pwd`" \
  42. --define "_srcrpmdir `pwd`" \
  43. --define "_rpmdir `pwd`" \
  44. --define "_specdir `pwd`" \
  45. scim-python.spec
  46. rpm-prep: dist scim-python.spec
  47. rpmbuild -bp \
  48. --define "_sourcedir `pwd`" \
  49. --define "_builddir `pwd`" \
  50. --define "_srcrpmdir `pwd`" \
  51. --define "_rpmdir `pwd`" \
  52. --define "_specdir `pwd`" \
  53. scim-python.spec
  54. srpm: dist scim-python.spec
  55. rpmbuild -bs --define "_sourcedir `pwd`" --define "_builddir `pwd`" --define "_srcrpmdir `pwd`" --define "_rpmdir `pwd`" --define "_specdir `pwd`" scim-python.spec
  56. if ENABLE_DEBIAN_DPKG
  57. deb: dist
  58. if test -e debian; then \
  59. dch -v "@VERSION@-0" -D UNRELEASED 'Local build'; \
  60. dpkg-buildpackage -us -uc; \
  61. else \
  62. @echo "======================== failed! ===================="; \
  63. @echo "make deb is for make debian package for svn checkout."; \
  64. @echo "please check out code from http://scim-python.googlecode.com/svn/trunk/";\
  65. fi
  66. endif