]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Regenerate.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Jun 2005 18:00:00 +0000 (18:00 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Jun 2005 18:00:00 +0000 (18:00 +0000)
man/Makefile.in

index 2c8645941641fbb91b2dc81a83f3f7cde9133021..d6679b4b7639bd707a46e45fe1111596f3de6d9a 100644 (file)
@@ -138,6 +138,8 @@ MAINTAINERCLEANFILES = $(dist_man_MANS)
 # Depend on configure.ac to get version number changes.
 common_dep = $(top_srcdir)/configure.ac $(srcdir)/common.x
 binsrcdir = $(top_srcdir)/bin
+remove_time_stamp = 's/^\(\.TH[^"]*"[^"]*"[^"]*\)"[^"]*"/\1/'
+MOSTLYCLEANFILES = $(srcdir)/*.t
 SUFFIXES = .x .1
 all: all-am
 
@@ -275,6 +277,7 @@ install-strip:
          `test -z '$(STRIP)' || \
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 mostlyclean-generic:
+       -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
 clean-generic:
 
@@ -370,7 +373,14 @@ $(srcdir)/config.sub.1:   $(top_srcdir)/config/config.sub
        $(HELP2MAN) \
            --include=$*.x \
            --include=$(srcdir)/common.x \
-           --output=$@ `echo '$*' | sed 's,.*/,,'`
+           --output=$@.t `echo '$*' | sed 's,.*/,,'`
+       if sed $(remove_time_stamp) $@ >$@a.t 2>/dev/null && \
+          sed $(remove_time_stamp) $@.t | cmp $@a.t - >/dev/null 2>&1; then \
+               touch $@; \
+       else \
+               mv $@.t $@; \
+       fi
+       rm -f $@*.t
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: