Changeset 2518

Show
Ignore:
Timestamp:
26/04/2009 21:13:46 (17 months ago)
Author:
chris
Message:

Include html docs in parcels.

Don't include man pages in parcels for Windows.

Location:
box/trunk
Files:
2 modified

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 
  • box/trunk/parcels.txt

    r2457 r2518  
    1010        script bin/bbackupd/bbackupd-config 
    1111        noinstall script LICENSE.txt 
     12 
     13        html bbackupd 
     14        html bbackupquery 
     15        html bbackupctl 
     16        html bbackupd-config 
     17        html bbackupd.conf 
     18 
     19EXCEPT:mingw32,mingw32msvc 
    1220        man bbackupd.8 
    1321        man bbackupquery.8 
     
    1523        man bbackupd-config.8 
    1624        man bbackupd.conf.5 
     25END-EXCEPT 
    1726 
    1827ONLY:mingw32,mingw32msvc 
     
    2332 
    2433ONLY:mingw32 
     34        script /bin/mgwz.dll 
    2535        script /bin/mingwm10.dll 
    2636END-ONLY 
     
    4252        script lib/raidfile/raidfile-config 
    4353        noinstall script LICENSE.txt 
     54 
     55        html bbstored 
     56        html bbstoreaccounts 
     57        html bbstored-certs 
     58        html bbstored-config 
     59        html raidfile-config 
     60        html bbstored.conf 
     61        html raidfile.conf 
     62 
     63EXCEPT:mingw32,mingw32msvc 
    4464        man bbstored.8 
    4565        man bbstoreaccounts.8 
     
    4969        man bbstored.conf.5 
    5070        man raidfile.conf.5 
     71END-EXCEPT 
    5172 
    5273ONLY:SunOS