Makefile.am 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $Id$
  2. # Makefile.am for texinfo/Pod-Simple_Texinfo.
  3. # Copyright 2012 Free Software Foundation, Inc.
  4. #
  5. # This file is free software; as a special exception the author gives
  6. # unlimited permission to copy and/or distribute it, with or without
  7. # modifications, as long as this notice is preserved.
  8. #
  9. # This program is distributed in the hope that it will be useful, but
  10. # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  11. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. nodist_bin_SCRIPTS = pod2texi
  13. test_files = prove.sh
  14. EXTRA_DIST = Changes \
  15. Makefile.PL \
  16. MANIFEST \
  17. t/Pod-Simple-Texinfo.t \
  18. pod2texi.pl \
  19. $(test_files)
  20. modulesdir = $(pkgdatadir)/Pod-Simple-Texinfo/Pod/Simple/
  21. dist_modules_DATA = \
  22. lib/Pod/Simple/Texinfo.pm
  23. pod2texi: pod2texi.pl Makefile
  24. sed -e 's,[@]datadir[@],$(datadir),g' \
  25. -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
  26. -e 's,[@]USE_EXTERNAL_LIBINTL[@],$(USE_EXTERNAL_LIBINTL),g' \
  27. -e 's,[@]USE_EXTERNAL_EASTASIANWIDTH[@],$(USE_EXTERNAL_EASTASIANWIDTH),g' \
  28. -e 's,[@]USE_EXTERNAL_UNIDECODE[@],$(USE_EXTERNAL_UNIDECODE),g' \
  29. -e '1 s,/usr/bin/env perl,$(PERL),g' \
  30. $(srcdir)/pod2texi.pl >$@
  31. chmod a+x $@
  32. if POD_SIMPLE_TEXINFO_TESTS
  33. TESTS = $(test_files)
  34. endif
  35. DISTCLEANFILES = pod2texi