Makefile.am 917 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # This Makefile.am is in the public domain
  2. AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
  3. SUBDIRS = gnunet-logread
  4. noinst_SCRIPTS = \
  5. terminate.py \
  6. pydiffer.py \
  7. removetrailingwhitespace.py \
  8. gnunet_pyexpect.py \
  9. gnunet_janitor.py \
  10. gnunet-chk.py
  11. bin_SCRIPTS = \
  12. gnunet-bugreport
  13. EXTRA_DIST = \
  14. coverage.sh \
  15. terminate.py.in \
  16. gnunet_pyexpect.py.in \
  17. gnunet_janitor.py.in \
  18. gnunet-chk.py.in \
  19. $(SCRIPTS) \
  20. removetrailingwhitespace.py.in \
  21. pydiffer.py.in
  22. CLEANFILES = \
  23. $(noinst_SCRIPTS)
  24. do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
  25. # Use SUFFIX Extension rules, they are more portable for every
  26. # implementation of 'make'.
  27. # You'll also run into the "'%' is a GNU make extension warning"
  28. # if you use this:
  29. #
  30. #%.py: %.py.in Makefile
  31. # $(do_subst) < $< > $@
  32. # chmod +x $@
  33. #
  34. # instead of this:
  35. SUFFIXES = .py.in .py
  36. .py.in.py:
  37. $(do_subst) < $< > $@
  38. chmod +x $@