autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS autoconf, config.{sub,guess}, and "make install"


From: Akim Demaille
Subject: Re: CVS autoconf, config.{sub,guess}, and "make install"
Date: 15 Dec 2000 09:32:48 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Thanks Harlan, I'm checking this in.

        Akim

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * man/Makefile.am (.x.1): Fix to work properly with
        builddir != srcdir.

Index: man/Makefile.am
===================================================================
RCS file: /cvs/autoconf/man/Makefile.am,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile.am
--- man/Makefile.am 2000/12/06 16:02:59 1.2
+++ man/Makefile.am 2000/12/15 08:24:22
@@ -24,13 +24,14 @@
 SUFFIXES = .x .1
 
 .x.1:
-       @if test -f $(top_builddir)/$*; then \
+       test -f $(top_builddir)/$* && prog=$(top_builddir)/$*; \
+       test -f $(top_srcdir)/$* && prog=$(top_srcdir)/$*; \
+       if test -n "$$prog"; then \
          echo "Updating man page $@"; \
          $(HELP2MAN) \
            --include=$(srcdir)/$*.x \
            --include=$(srcdir)/common.x \
-           --output=$@ \
-           $(top_builddir)/$*; \
+           --output=$@ $$prog; \
        else \
          echo "WARNING: The man page $@ cannot be updated yet."; \
          echo "         Retry once the corresponding executable is built."; \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]