mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-11-03 20:48:08 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
cd $(dirname "$0")/../..
 | 
						|
 | 
						|
PRETTYDOC="$PWD/../prettydoc/prettydoc"
 | 
						|
 | 
						|
if [[ $# -eq 0 ]]; then
 | 
						|
    echo "usage: $(basename $0) {asciidoc|html}" 1>&2
 | 
						|
    exit 1
 | 
						|
fi
 | 
						|
 | 
						|
"$PRETTYDOC" -f $1 -t -H=--outer-names-only -o doc inc/winfsp/winfsp.h inc/winfsp/launch.h
 | 
						|
 | 
						|
if [[ "$1" == "asciidoc" ]]; then
 | 
						|
    mv doc/winfsp.h.asciidoc doc/WinFsp-API-winfsp.h.asciidoc
 | 
						|
    mv doc/launch.h.asciidoc doc/WinFsp-API-launch.h.asciidoc
 | 
						|
fi
 |