Ignore:
Timestamp:
26/04/2009 22:13:46 (3 years ago)
Author:
chris
Message:

Include html docs in parcels.

Don't include man pages in parcels for Windows.

File:
1 edited

Legend:

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

    r2492 r2518  
    6767                } 
    6868                next if (m'\AEND-ONLY'); 
     69 
     70                if (m'\AEXCEPT:(.+)') 
     71                { 
     72                        if (os_matches($1)) 
     73                        { 
     74                                while (<PARCELS>) 
     75                                { 
     76                                        last if m'\AEND-EXCEPT'; 
     77                                } 
     78                        } 
     79                        next; 
     80                } 
     81                next if (m'\AEND-EXCEPT'); 
    6982                 
    7083                # new parcel, or a new parcel definition? 
     
    229242                        push @parcel_deps, "$dir/${name}.gz"; 
    230243                } 
     244                elsif($type eq 'html') 
     245                { 
     246                        print MAKE <<EOF; 
     247$dir/docs/${name}.html: docs/htmlguide/man-html/${name}.html 
     248        mkdir -p $dir/docs 
     249        $copy_command docs/htmlguide/man-html/${name}.html $dir/docs 
     250 
     251EOF 
     252                        # Releases have the docs pre-made, but users 
     253                        # may want to rebuild them for some reason. 
     254                        print MAKE <<EOF; 
     255.PHONY: docs/htmlguide/man-html/${name}.html 
     256docs/htmlguide/man-html/${name}.html: 
     257        \$(MAKE) -C docs htmlguide/man-html/${name}.html 
     258 
     259EOF 
     260                        push @parcel_deps, "$dir/docs/${name}.html"; 
     261                } 
    231262        } 
    232263 
Note: See TracChangeset for help on using the changeset viewer.