2
0

Makefile.inc 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ## Included by top-level Makefile for Automake.
  2. ## Copyright (C) 1995-2017 Free Software Foundation, Inc.
  3. ##
  4. ## This program is free software; you can redistribute it and/or modify
  5. ## it under the terms of the GNU General Public License as published by
  6. ## the Free Software Foundation; either version 2, or (at your option)
  7. ## any later version.
  8. ##
  9. ## This program is distributed in the hope that it will be useful,
  10. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ## GNU General Public License for more details.
  13. ##
  14. ## You should have received a copy of the GNU General Public License
  15. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. ## -------------------------------------------------------------------- ##
  17. ## Auxiliary scripts and files for use with "automake --add-missing". ##
  18. ## -------------------------------------------------------------------- ##
  19. dist_pkgvdata_DATA = \
  20. %D%/COPYING \
  21. %D%/INSTALL \
  22. %D%/texinfo.tex
  23. # These must all be executable when installed. However, if we use
  24. # _SCRIPTS, then the program transform will be applied, which is not
  25. # what we want. So we make them executable by hand.
  26. dist_script_DATA = \
  27. %D%/config.guess \
  28. %D%/config.sub \
  29. %D%/install-sh \
  30. %D%/mdate-sh \
  31. %D%/missing \
  32. %D%/mkinstalldirs \
  33. %D%/ylwrap \
  34. %D%/depcomp \
  35. %D%/compile \
  36. %D%/py-compile \
  37. %D%/ar-lib \
  38. %D%/test-driver \
  39. %D%/tap-driver.sh
  40. install-data-hook:
  41. @$(POST_INSTALL)
  42. @for f in $(dist_script_DATA); do echo $$f; done \
  43. | sed 's,^%D%/,,' \
  44. | ( st=0; \
  45. while read f; do \
  46. echo " chmod +x '$(DESTDIR)$(scriptdir)/$$f'"; \
  47. chmod +x "$(DESTDIR)$(scriptdir)/$$f" || st=1; \
  48. done; \
  49. exit $$st )
  50. installcheck-local: installcheck-executable-scripts
  51. installcheck-executable-scripts:
  52. @for f in $(dist_script_DATA); do echo $$f; done \
  53. | sed 's,^%D%/,,' \
  54. | while read f; do \
  55. path="$(pkgvdatadir)/$$f"; \
  56. test -x "$$path" || echo $$path; \
  57. done \
  58. | sed 's/$$/: not executable/' \
  59. | grep . 1>&2 && exit 1; exit 0
  60. # vim: ft=automake noet