source: scripts/untested/autotools/patches/automake-1.8.2-infopage-namechange.patch@ def3913

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since def3913 was d1afb9e, checked in by Jim Gifford <clfs@…>, 19 years ago

r587@server (orig r585): ryan | 2005-08-05 21:51:35 -0700
Add a sane autotools build to the mix.
Blatantly stolen from gentoo...



  • Property mode set to 100644
File size: 1.1 KB
  • doc/Makefile.in

    old new  
    175175        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    176176
    177177.texi.info:
    178         restore=: && \
    179         backupdir="$(am__leading_dot)am$$$$" && \
    180         am__cwd=`pwd` && cd $(srcdir) && \
    181         rm -rf $$backupdir && mkdir $$backupdir && \
    182         for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
    183           if test -f $$f; then \
    184             mv $$f $$backupdir; \
    185             restore=mv; \
    186           fi; \
    187         done; \
    188         cd "$$am__cwd"; \
    189         if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
    190          -o $@ $<; \
    191         then \
    192           rc=0; \
    193           cd $(srcdir); \
    194         else \
    195           rc=$$?; \
    196           cd $(srcdir) && \
    197           $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
    198         fi; \
    199         rm -rf $$backupdir; \
    200         exit $$rc
     178        @rm -f $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]
     179        cd $(srcdir) \
     180                && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
     181                `echo $< | sed 's,.*/,,'`
    201182
    202183.texi.dvi:
    203184        TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
Note: See TracBrowser for help on using the repository browser.