diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | doc/Makefile.am | 13 |
2 files changed, 16 insertions, 0 deletions
@@ -1,6 +1,9 @@ Noteworthy changes in version 1.28 (unreleased) [C22/A22/R_] ----------------------------------------------- + * The formerly internal yat2m tool is now installed during a native + build. + * Interface changes relative to the 1.27 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/Makefile.am b/doc/Makefile.am index 565bb09..849c661 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -71,9 +71,22 @@ errorref.txt.x : errorref.txt sed '/^##/ d' $< >$@ echo "# Installed by $(PACKAGE_NAME) $(PACKAGE_VERSION)" >>$@ +install-exec-hook: +if CROSS_COMPILING + @echo "not install yat2m while cross-compiling" +else + @echo "installing yat2m on the build system"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) \ + yat2m "$(DESTDIR)$(bindir)/yat2m" +endif + install-data-local: errorref.txt.x $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) $(INSTALL_DATA) errorref.txt.x $(DESTDIR)$(pkgdatadir)/errorref.txt uninstall-local: -@rm $(DESTDIR)$(pkgdatadir)/errorref.txt +if !CROSS_COMPILING + -@rm $(DESTDIR)$(bindir)/yat2m +endif |