From: Yaakov Selkowitz <[email protected]>

As a result of commit 22578c3718e41da72c66ce6a4186ec7315d6e3ad:

make[1]: *** No rule to make target `imake.exe.1', needed by `all-am'.
make[1]: *** No rule to make target `revpath.exe.1', needed by `all-am'.

On PE/COFF platforms EXEEXT is set to ".exe" and is appended by automake
to all *_PROGRAMS.  For portability this must be accounted for in any
custom rules which refer to any *_PROGRAMS.

Signed-off-by: Yaakov Selkowitz <[email protected]>
---
 Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1fe351d..d7048a3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -125,8 +125,7 @@ appman_PRE = \
        mkhtmlindex.man
 
 # Only need to install man pages for programs/scripts being installed
-appman_needed_for = $(bin_PROGRAMS) $(bin_SCRIPTS)
-appman_DATA = $(appman_needed_for:%...@app_man_suffix@)
+appman_DATA = $(bin_PROGRAMS:%$(EXEEXT)=...@app_man_suffix@) 
$(bin_SCRIPTS:%...@app_man_suffix@)
 
 EXTRA_DIST += $(appman_PRE)
 CLEANFILES += $(appman_DATA)
-- 
1.7.0.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to