Makefile.am 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $Id$
  2. # Makefile.am for texinfo/install-info.
  3. #
  4. # Copyright 2008, 2009, 2010, 2012, 2013, 2015, 2016
  5. # Free Software Foundation, Inc.
  6. #
  7. # This file is free software; as a special exception the author gives
  8. # unlimited permission to copy and/or distribute it, with or without
  9. # modifications, as long as this notice is preserved.
  10. #
  11. # This program is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  13. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. SUBDIRS = . tests
  15. bin_PROGRAMS = ginstall-info
  16. w32_script = ginstall-info.exe.manifest
  17. if HOST_IS_WINDOWS
  18. dist_bin_SCRIPTS = $(w32_script)
  19. endif
  20. # Use `ginstall-info' in the definition of PROGRAMS and in dependencies
  21. # because automake generates an install-info target in every Makefile
  22. # (this is easier than changing Automake.)
  23. ginstall_info_SOURCES = install-info.c
  24. # Transform `ginstall-info' to `install-info' before applying any
  25. # user-specified name transformations.
  26. transform = s/ginstall-info/install-info/; $(program_transform_name)
  27. localedir = $(datadir)/locale
  28. AM_CPPFLAGS = \
  29. -I$(top_srcdir) \
  30. -I$(top_srcdir)/gnulib/lib \
  31. -I$(top_builddir)/gnulib/lib \
  32. -DLOCALEDIR=\"$(localedir)\"
  33. LDADD = $(top_builddir)/gnulib/lib/libgnu.a $(LIBINTL)