Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/filepath/make-docs.bat

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


mkdir docs
cpphs --noline System\FilePath.hs         -D__HADDOCK__ > docs\System.FilePath.hs
cpphs --noline System\FilePath\Windows.hs -D__HADDOCK__ > docs\System.FilePath.Windows.hs
cpphs --noline System\FilePath\Posix.hs   -D__HADDOCK__ > docs\System.FilePath.Posix.hs

haddock -h docs\System.FilePath.hs docs\System.FilePath.Posix.hs docs\System.FilePath.Windows.hs --odir=docs --source-module=%%{MODULE}.html --source-entity=%%{MODULE}.html#%%{NAME}

copy d:\bin\hscolour.css docs\hscolour.css
hscolour -anchor -css docs\System.FilePath.hs         > docs\System.FilePath.html
hscolour -anchor -css docs\System.FilePath.Windows.hs > docs\System.FilePath.Windows.html
hscolour -anchor -css docs\System.FilePath.Posix.hs   > docs\System.FilePath.Posix.html

if "%1" == "deploy" copy "docs\*.*" "W:\projects\filepath\*.*"


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].