* "make install" only installs .sgml and .png files * Added --enable-html option to configure if separate HTML docs desired * Added "html" and "install-html" targets to documentation Makefiles svn: r938
		
			
				
	
	
		
			32 lines
		
	
	
		
			707 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			707 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
include @top_srcdir@/Makefile.comm
 | 
						|
 | 
						|
MANSRC = ${EG}.sgml
 | 
						|
MANDIR = ${EG}
 | 
						|
 | 
						|
 | 
						|
html: ${MANDIR}/index.html
 | 
						|
 | 
						|
${MANDIR}/index.html: ${MANSRC}
 | 
						|
	-${DB2HTML} ${MANSRC} -o ${MANDIR}
 | 
						|
	-rm -rf ${MANSC}.junk/
 | 
						|
	
 | 
						|
install:
 | 
						|
	-${INSTALL} -d ${GNOMEHELP}/${EG}/C
 | 
						|
	-${INSTALL} -m 644 ${MANSRC} ${GNOMEHELP}/${EG}/C
 | 
						|
 | 
						|
# We only install the .html files since .png's 
 | 
						|
# should already be there from the normal install
 | 
						|
install-html:
 | 
						|
	-${INSTALL} -d ${GNOMEHELP}/${EG}/C
 | 
						|
	-${INSTALL} -m 644 ${EG}/*.html ${GNOMEHELP}/${EG}/C
 | 
						|
 | 
						|
uninstall:
 | 
						|
	-rm -f ${GNOMEHELP}/${EG}/C/*.sgml
 | 
						|
	-rm -f ${GNOMEHELP}/${EG}/C/*.html
 | 
						|
	-rmdir ${GNOMEHELP}/${EG}/C/
 | 
						|
 | 
						|
clean:
 | 
						|
	-rm -rf ${MANDIR}/*.html
 | 
						|
	-rm -rf ${MANDIR}/stylesheet-images/
 | 
						|
	-rm -rf ${MANDIR}.junk/
 |