/python/engine/XingMa/Makefile.am

http://scim-python.googlecode.com/ · Makefile · 57 lines · 27 code · 6 blank · 24 comment · 1 complexity · 5e9fce77055f9229015483706966f868 MD5 · raw file

  1. # vim:set noet ts=4:
  2. #
  3. # scim-python
  4. #
  5. # Copyright (c) 2007-2008 Yu Yuwei <acevery@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 = tables
  26. if ENABLE_XINGMA
  27. xingma_PYTHON = \
  28. XingMa.py \
  29. XMSQLiteDB.py \
  30. XMDict.py \
  31. __init__.py \
  32. $(NULL)
  33. xingma_SCRIPTS = \
  34. XMCreateDB.py \
  35. $(NULL)
  36. xingmadir = $(pkgdatadir)/engine/XingMa
  37. EXTRA_DIST = README XMCreateDB.py
  38. DISTCLEANFILES = \
  39. *.pyc
  40. install-data-hook:
  41. ( \
  42. mkdir -p $(DESTDIR)$(bindir); \
  43. cd $(DESTDIR)$(bindir); \
  44. ln -sf $(pkgdatadir)/engine/XingMa/XMCreateDB.py XMCreateDB; \
  45. )
  46. uninstall-hook:
  47. ( \
  48. cd $(DESTDIR)$(bindir); \
  49. rm -rf XMCreateDB; \
  50. )
  51. endif