Broken in 753930bc7300dd595c4bab51c5a70d1da9083da4, as the path to Doxyfile passed to doxy-wrapper.sh is relative to the build dir, while the recipe cd's to the source dir before invoking the wrapper.
		
			
				
	
	
		
			25 lines
		
	
	
		
			335 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			335 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| OUT_DIR="${1}"
 | |
| SRC_DIR="${2}"
 | |
| DOXYFILE="${3}"
 | |
| DOXYGEN="${4}"
 | |
| 
 | |
| shift 4
 | |
| 
 | |
| cd ${SRC_DIR}
 | |
| 
 | |
| if [ -e "VERSION" ]; then
 | |
|     VERSION=`cat "VERSION"`
 | |
| else
 | |
|     VERSION=`git describe`
 | |
| fi
 | |
| 
 | |
| $DOXYGEN - <<EOF
 | |
| @INCLUDE        = ${DOXYFILE}
 | |
| INPUT           = $@
 | |
| HTML_TIMESTAMP  = NO
 | |
| PROJECT_NUMBER  = $VERSION
 | |
| OUTPUT_DIRECTORY = $OUT_DIR
 | |
| EOF
 |