Changeset 837ff43 in git


Ignore:
Timestamp:
20/09/11 12:10:11 (8 years ago)
Author:
Olly Betts <olly@…>
Branches:
svn/1.0, svn/tags/1.0.40
Children:
089bf7d
Parents:
22f21232
Message:

Backport change from 1.2.0:
doc/Makefile.am: Write generated man page to a temporary file, then
atomically rename, to avoid leaving an empty or partial man page
behind if docbook-to-man dies (I managed to ship an empty cad3d.1 in
1.1.16).

git-svn-id: file:///home/survex-svn/survex/branches/1.0@3697 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r22f21232 r837ff43  
     1Tue Sep 20 11:09:30 GMT 2011  Olly Betts <olly@survex.com>
     2
     3        * Backport change from 1.2.0:
     4        * doc/Makefile.am: Write generated man page to a temporary file, then
     5          atomically rename, to avoid leaving an empty or partial man page
     6          behind if docbook-to-man dies (I managed to ship an empty cad3d.1 in
     7          1.1.16).
     8
    19Tue Sep 20 10:48:35 GMT 2011  Olly Betts <olly@survex.com>
    210
  • doc/Makefile.am

    r22f21232 r837ff43  
    4141
    4242aven.1: $(srcdir)/aven.sgml $(srcdir)/man_aven.sgml $(srcdir)/survex.ent
    43         docbook-to-man $(srcdir)/man_aven.sgml > aven.1
     43        docbook-to-man $(srcdir)/man_aven.sgml > aven.tmp
     44        mv aven.tmp aven.1
    4445
    4546cad3d.1: $(srcdir)/cad3d.sgml $(srcdir)/man_cad3d.sgml $(srcdir)/survex.ent
    46         docbook-to-man $(srcdir)/man_cad3d.sgml > cad3d.1
     47        docbook-to-man $(srcdir)/man_cad3d.sgml > cad3d.tmp
     48        mv cad3d.tmp cad3d.1
    4749
    4850cavern.1: $(srcdir)/cavern.sgml $(srcdir)/man_cavern.sgml $(srcdir)/survex.ent
    49         docbook-to-man $(srcdir)/man_cavern.sgml > cavern.1
     51        docbook-to-man $(srcdir)/man_cavern.sgml > cavern.tmp
     52        mv cavern.tmp cavern.1
    5053
    5154caverot.1: $(srcdir)/caverot.sgml $(srcdir)/man_caverot.sgml $(srcdir)/survex.ent
    52         docbook-to-man $(srcdir)/man_caverot.sgml > caverot.1
     55        docbook-to-man $(srcdir)/man_caverot.sgml > caverot.tmp
     56        mv caverot.tmp caverot.1
    5357
    5458diffpos.1: $(srcdir)/diffpos.sgml $(srcdir)/man_diffpos.sgml $(srcdir)/survex.ent
    55         docbook-to-man $(srcdir)/man_diffpos.sgml > diffpos.1
     59        docbook-to-man $(srcdir)/man_diffpos.sgml > diffpos.tmp
     60        mv diffpos.tmp diffpos.1
    5661
    5762extend.1: $(srcdir)/extend.sgml $(srcdir)/man_extend.sgml $(srcdir)/survex.ent
    58         docbook-to-man $(srcdir)/man_extend.sgml > extend.1
     63        docbook-to-man $(srcdir)/man_extend.sgml > extend.tmp
     64        mv extend.tmp extend.1
    5965
    6066printdm.1: $(srcdir)/printdm.sgml $(srcdir)/man_printdm.sgml $(srcdir)/survex.ent
    61         docbook-to-man $(srcdir)/man_printdm.sgml > printdm.1
     67        docbook-to-man $(srcdir)/man_printdm.sgml > printdm.tmp
     68        mv printdm.tmp printdm.1
    6269
    6370printhpgl.1: $(srcdir)/printhpgl.sgml $(srcdir)/man_printhpgl.sgml $(srcdir)/survex.ent
    64         docbook-to-man $(srcdir)/man_printhpgl.sgml > printhpgl.1
     71        docbook-to-man $(srcdir)/man_printhpgl.sgml > printhpgl.tmp
     72        mv printhpgl.tmp printhpgl.1
    6573
    6674printpcl.1: $(srcdir)/printpcl.sgml $(srcdir)/man_printpcl.sgml $(srcdir)/survex.ent
    67         docbook-to-man $(srcdir)/man_printpcl.sgml > printpcl.1
     75        docbook-to-man $(srcdir)/man_printpcl.sgml > printpcl.tmp
     76        mv printpcl.tmp printpcl.1
    6877
    6978printps.1: $(srcdir)/printps.sgml $(srcdir)/man_printps.sgml $(srcdir)/survex.ent
    70         docbook-to-man $(srcdir)/man_printps.sgml > printps.1
     79        docbook-to-man $(srcdir)/man_printps.sgml > printps.tmp
     80        mv printps.tmp printps.1
    7181
    7282sorterr.1: $(srcdir)/sorterr.sgml $(srcdir)/man_sorterr.sgml $(srcdir)/survex.ent
    73         docbook-to-man $(srcdir)/man_sorterr.sgml > sorterr.1
     83        docbook-to-man $(srcdir)/man_sorterr.sgml > sorterr.tmp
     84        mv sorterr.tmp sorterr.1
    7485
    75863dtopos.1: $(srcdir)/3dtopos.sgml $(srcdir)/man_3dtopos.sgml $(srcdir)/survex.ent
    76         docbook-to-man $(srcdir)/man_3dtopos.sgml > 3dtopos.1
     87        docbook-to-man $(srcdir)/man_3dtopos.sgml > 3dtopos.tmp
     88        mv 3dtopos.tmp 3dtopos.1
    7789
    7890xcaverot.1: $(srcdir)/xcaverot.sgml $(srcdir)/man_xcaverot.sgml $(srcdir)/survex.ent
    79         docbook-to-man $(srcdir)/man_xcaverot.sgml > xcaverot.1
     91        docbook-to-man $(srcdir)/man_xcaverot.sgml > xcaverot.tmp
     92        mv xcaverot.tmp xcaverot.1
    8093
    8194svxedit.1: $(srcdir)/svxedit.sgml $(srcdir)/man_svxedit.sgml $(srcdir)/survex.ent
    82         docbook-to-man $(srcdir)/man_svxedit.sgml > svxedit.1
     95        docbook-to-man $(srcdir)/man_svxedit.sgml > svxedit.tmp
     96        mv svxedit.tmp svxedit.1
    8397
    8498print.ini.5: $(srcdir)/print.ini.sgml $(srcdir)/man_print.ini.sgml $(srcdir)/survex.ent
    85         docbook-to-man $(srcdir)/man_print.ini.sgml > print.ini.5
     99        docbook-to-man $(srcdir)/man_print.ini.sgml > print.ini.tmp
     100        mv print.ini.tmp print.ini.5
    86101
    87102install-data-local: manual
Note: See TracChangeset for help on using the changeset viewer.