Ignore:
Timestamp:
25/09/2011 19:39:42 (8 months ago)
Author:
chris
Message:

Don't regenerate zipped manpages unless needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/makeparcels.pl.in

    r2976 r3000  
    221221                        # Releases have the docs pre-made, but users 
    222222                        # may want to rebuild them for some reason. 
    223                         print MAKE <<EOF; 
    224 .PHONY: docs/man/${name}.gz 
    225 docs/man/${name}.gz: 
     223                        my $docbook_source = "docs/docbook/${name}"; 
     224                        $docbook_source =~ s/\.[58]$/.xml/; 
     225                        print MAKE <<EOF; 
     226docs/man/${name}.gz: $docbook_source docs/docbook/bb-man.xsl 
    226227        cd docs; \$(MAKE) man/${name}.gz 
    227228 
     
    239240                        # Releases have the docs pre-made, but users 
    240241                        # may want to rebuild them for some reason. 
    241                         print MAKE <<EOF; 
    242 .PHONY: docs/htmlguide/man-html/${name}.html 
    243 docs/htmlguide/man-html/${name}.html: 
     242                        my $docbook_source = "docs/docbook/${name}.xml"; 
     243                        print MAKE <<EOF; 
     244docs/htmlguide/man-html/${name}.html: $docbook_source docs/docbook/bb-nochunk-book.xsl 
    244245        cd docs; \$(MAKE) htmlguide/man-html/${name}.html 
    245246 
Note: See TracChangeset for help on using the changeset viewer.