49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ## @file
 | |
| ##
 | |
| ## $Id$
 | |
| ##
 | |
| ##       1         2         3         4         5         6         7         8
 | |
| ## 45678901234567890123456789012345678901234567890123456789012345678901234567890
 | |
| 
 | |
| develdir = ${pkgdatadir}/doc
 | |
| devel_DATA = html/index.html
 | |
| 
 | |
| ALL_SRC = ${top_srcdir}/*/*.[ch]xx ${top_srcdir}/*/*/*.[ch]xx
 | |
| 
 | |
| DIRS = html latex
 | |
| 
 | |
| all: ${DIRS}
 | |
| 
 | |
| .PHONY: doc clean-local distclean-local dist-hool install-data-hook \
 | |
|         uninstall-hook
 | |
| 
 | |
| deps = ${top_srcdir}/COPYING ${top_srcdir}/README		 \
 | |
|        ${top_srcdir}/INSTALL ${top_srcdir}/NEWS ${top_srcdir}/ChangeLog
 | |
| 
 | |
| ${devel_DATA}: ${ALL_SRC} doxyfile ${deps}
 | |
| 	doxygen doxyfile
 | |
| if PEDANTIC
 | |
| 	test \! -s doxygen.errors
 | |
| endif
 | |
| 	cd latex && make
 | |
| 	mv latex/refman.pdf @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.pdf
 | |
| 
 | |
| CLEANFILES = doxygen.errors @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.pdf
 | |
| DISTCLEANFILES = @PACKAGENAME@.doxytag
 | |
| MAINTAINERCLEANFILES = makefile.in
 | |
| 
 | |
| 
 | |
| distclean-local:
 | |
| 	- rm -r html latex
 | |
| 
 | |
| dist-hook: ${devel_DATA}
 | |
| 	cp -r html ${distdir}/
 | |
| 
 | |
| install-data-hook:
 | |
| 	chmod -R u+w ${develdir}
 | |
| 	cp -r html/* ${develdir}/
 | |
| 
 | |
| uninstall-hook:
 | |
| 	-chmod -R u+w ${develdir}
 | |
| 	-rm -rf ${develdir}/*
 |