Add temporary files to CLEANFILES instead of removing them
during the build.
This commit is contained in:
		
							parent
							
								
									7ce75061a6
								
							
						
					
					
						commit
						4c5050dc07
					
				
				
				Notes:
				
					svn2git
				
				2020-12-08 03:00:23 +00:00 
				
			
			svn path=/head/; revision=25708
					 1 changed files with 4 additions and 5 deletions
				
			
		|  | @ -247,9 +247,10 @@ PARAMS.eresources+=	--param 'type' "'www'" \ | |||
| SRCS+=		mirrors.sgml.ftp.inc \
 | ||||
| 		mirrors.sgml.cvsup.inc \
 | ||||
| 		eresources.sgml.www.inc | ||||
| CLEANFILES+=	mirrors.sgml.ftp.inc \
 | ||||
| 		mirrors.sgml.cvsup.inc \
 | ||||
| 		eresources.sgml.www.inc | ||||
| 
 | ||||
| CLEANFILES+=	mirrors.sgml.ftp.inc mirrors.sgml.ftp.inc.tmp \
 | ||||
| 		mirrors.sgml.cvsup.inc mirrors.sgml.cvsup.inc.tmp \
 | ||||
| 		eresources.sgml.www.inc eresources.sgml.www.inc.tmp | ||||
| 
 | ||||
| .include "${DOC_PREFIX}/share/mk/doc.project.mk" | ||||
| 
 | ||||
|  | @ -257,10 +258,8 @@ CLEANFILES+=	mirrors.sgml.ftp.inc \ | |||
| mirrors.sgml.${p}.inc: mirrors.sgml.${p}.inc.tmp | ||||
| 	${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
 | ||||
| 	    < $@.tmp > $@ || (${RM} -f $@ && false) | ||||
| 	${RM} -f $@.tmp | ||||
| .endfor | ||||
| 
 | ||||
| eresources.sgml.www.inc: eresources.sgml.www.inc.tmp | ||||
| 	${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
 | ||||
| 	    < $@.tmp > $@ || (${RM} -f $@ && false) | ||||
| 	${RM} -f $@.tmp | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue