]> git.saurik.com Git - bison.git/blobdiff - doc/local.mk
build: generalize etc/prefix-gnulib-mk
[bison.git] / doc / local.mk
index 52a64e348469714ddbec2f5f86464edab06b12f6..aa3c914702716d244ecbf765eee2b9d29dfacd9b 100644 (file)
@@ -1,5 +1,4 @@
-## Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010
-## Free Software Foundation, Inc.
+## Copyright (C) 2001-2003, 2005-2012 Free Software Foundation, Inc.
 
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,9 +15,9 @@
 
 AM_MAKEINFOFLAGS = --no-split
 info_TEXINFOS = doc/bison.texinfo
-doc_bison_TEXINFOS =                           \
-  $(CROSS_OPTIONS_TEXI)                                \
-  doc/fdl.texi                                 \
+doc_bison_TEXINFOS =                            \
+  $(CROSS_OPTIONS_TEXI)                         \
+  doc/fdl.texi                                  \
   doc/gpl-3.0.texi
 
 CLEANFILES = doc/bison.fns
@@ -36,7 +35,7 @@ $(CROSS_OPTIONS_TEXI): doc/bison.help $(CROSS_OPTIONS_PL)
 # diff in the next run.  Note that $@ might not exist yet.
        { test ! -f $@ || cat $@; } >$@~
        test ! -f $@.tmp || rm -f $@.tmp
-       src/bison$(EXEEXT) --help |                                      \
+       src/bison$(EXEEXT) --help |                                      \
          perl $(CROSS_OPTIONS_PL) $(top_srcdir)/src/scan-gram.l >$@.tmp
        diff -u $@~ $@.tmp || true
        mv $@.tmp $@
@@ -102,14 +101,14 @@ remove_time_stamp = \
 # Depend on configure to get version number changes.
 $(top_srcdir)/doc/bison.1: doc/bison.help doc/bison.x $(top_srcdir)/configure
        @echo "Updating man page $@"
-       $(HELP2MAN)                                     \
-           --include=$(top_srcdir)/doc/bison.x         \
+       $(HELP2MAN)                                     \
+           --include=$(top_srcdir)/doc/bison.x         \
            --output=$@.t src/bison$(EXEEXT)
-       if $(remove_time_stamp) $@ >$@a.t 2>/dev/null &&                 \
+       if $(remove_time_stamp) $@ >$@a.t 2>/dev/null &&                 \
           $(remove_time_stamp) $@.t | cmp $@a.t - >/dev/null 2>&1; then \
-         touch $@;                                                      \
-       else                                                             \
-         mv $@.t $@;                                                    \
+         touch $@;                                                      \
+       else                                                             \
+         mv $@.t $@;                                                    \
        fi
        rm -f $@*.t