diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-04-26 21:13:46 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-04-26 21:13:46 +0000 |
commit | e097b9a6e07c1f3a613f0adab9225b9a0e0c7598 (patch) | |
tree | 52a7d0357eeda747129e1fe524fdb37efe537edf | |
parent | dc8a3e58dffb5c2567e196e6c5f7d1ffe08e9b66 (diff) |
Include html docs in parcels.
Don't include man pages in parcels for Windows.
-rwxr-xr-x | infrastructure/makeparcels.pl.in | 31 | ||||
-rw-r--r-- | parcels.txt | 21 |
2 files changed, 52 insertions, 0 deletions
diff --git a/infrastructure/makeparcels.pl.in b/infrastructure/makeparcels.pl.in index cc54b23f..d0148d06 100755 --- a/infrastructure/makeparcels.pl.in +++ b/infrastructure/makeparcels.pl.in @@ -66,6 +66,19 @@ open PARCELS,"parcels.txt" or die "Can't open parcels file"; next; } next if (m'\AEND-ONLY'); + + if (m'\AEXCEPT:(.+)') + { + if (os_matches($1)) + { + while (<PARCELS>) + { + last if m'\AEND-EXCEPT'; + } + } + next; + } + next if (m'\AEND-EXCEPT'); # new parcel, or a new parcel definition? if(m/\A\s+(.+)\Z/) @@ -228,6 +241,24 @@ docs/man/${name}.gz: EOF push @parcel_deps, "$dir/${name}.gz"; } + elsif($type eq 'html') + { + print MAKE <<EOF; +$dir/docs/${name}.html: docs/htmlguide/man-html/${name}.html + mkdir -p $dir/docs + $copy_command docs/htmlguide/man-html/${name}.html $dir/docs + +EOF + # Releases have the docs pre-made, but users + # may want to rebuild them for some reason. + print MAKE <<EOF; +.PHONY: docs/htmlguide/man-html/${name}.html +docs/htmlguide/man-html/${name}.html: + \$(MAKE) -C docs htmlguide/man-html/${name}.html + +EOF + push @parcel_deps, "$dir/docs/${name}.html"; + } } print MAKE <<EOF; diff --git a/parcels.txt b/parcels.txt index fb708188..ce43d107 100644 --- a/parcels.txt +++ b/parcels.txt @@ -9,11 +9,20 @@ backup-client bin bbackupctl script bin/bbackupd/bbackupd-config noinstall script LICENSE.txt + + html bbackupd + html bbackupquery + html bbackupctl + html bbackupd-config + html bbackupd.conf + +EXCEPT:mingw32,mingw32msvc man bbackupd.8 man bbackupquery.8 man bbackupctl.8 man bbackupd-config.8 man bbackupd.conf.5 +END-EXCEPT ONLY:mingw32,mingw32msvc script bin/bbackupd/win32/installer.iss @@ -22,6 +31,7 @@ ONLY:mingw32,mingw32msvc END-ONLY ONLY:mingw32 + script /bin/mgwz.dll script /bin/mingwm10.dll END-ONLY @@ -41,6 +51,16 @@ backup-server script bin/bbstored/bbstored-config script lib/raidfile/raidfile-config noinstall script LICENSE.txt + + html bbstored + html bbstoreaccounts + html bbstored-certs + html bbstored-config + html raidfile-config + html bbstored.conf + html raidfile.conf + +EXCEPT:mingw32,mingw32msvc man bbstored.8 man bbstoreaccounts.8 man bbstored-certs.8 @@ -48,6 +68,7 @@ backup-server man raidfile-config.8 man bbstored.conf.5 man raidfile.conf.5 +END-EXCEPT ONLY:SunOS script contrib/solaris/bbstored-manifest.xml lib/svc/manifest |