cpp now gets installed in the right place.
This commit is contained in:
		
							parent
							
								
									558a1ef405
								
							
						
					
					
						commit
						7af0c5696d
					
				
					 3 changed files with 18 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -37,12 +37,15 @@ cgg = simple {
 | 
			
		|||
	
 | 
			
		||||
	outputs = {"%U%/tables.c", "%U%/tables.h"},
 | 
			
		||||
	command = {
 | 
			
		||||
		"cd %out[1]:dirname% && (%BINDIR%bin/cpp -P -I%CGGINCLUDEDIR% %in% | %TOOLDIR%cgg)",
 | 
			
		||||
		"cd %out[1]:dirname% && (%BINDIR%%PLATDEP%/cpp -P -I%CGGINCLUDEDIR% %in% | %TOOLDIR%cgg)",
 | 
			
		||||
	},
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
-- Revision history
 | 
			
		||||
-- $Log$
 | 
			
		||||
-- Revision 1.1  2006-07-20 23:21:17  dtrg
 | 
			
		||||
-- Revision 1.2  2006-07-22 20:58:27  dtrg
 | 
			
		||||
-- cpp now gets installed in the right place.
 | 
			
		||||
--
 | 
			
		||||
-- Revision 1.1  2006/07/20 23:21:17  dtrg
 | 
			
		||||
-- First version in CVS.
 | 
			
		||||
--
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -102,12 +102,18 @@ tool_cpp = cprogram {
 | 
			
		|||
	lib_string,
 | 
			
		||||
	
 | 
			
		||||
	outputs = {"%U%/cpp"},
 | 
			
		||||
	install = pm.install(BINDIR.."bin/cpp")
 | 
			
		||||
	install = {
 | 
			
		||||
		pm.install("%BINDIR%%PLATDEP%/cpp"),
 | 
			
		||||
		pm.install(d.."cpp.6", "%BINDIR%man/man6/cpp.6")
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
-- Revision history
 | 
			
		||||
-- $Log$
 | 
			
		||||
-- Revision 1.2  2006-07-22 12:27:31  dtrg
 | 
			
		||||
-- Revision 1.3  2006-07-22 20:58:27  dtrg
 | 
			
		||||
-- cpp now gets installed in the right place.
 | 
			
		||||
--
 | 
			
		||||
-- Revision 1.2  2006/07/22 12:27:31  dtrg
 | 
			
		||||
-- Removed a huge, ancient comment dating from the genmake days.
 | 
			
		||||
--
 | 
			
		||||
-- Revision 1.1  2006/07/20 23:24:28  dtrg
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,7 +61,7 @@ ncgg = simple {
 | 
			
		|||
	
 | 
			
		||||
	outputs = {"%U%/tables.c", "%U%/tables.h"},
 | 
			
		||||
	command = {
 | 
			
		||||
		"cd %out[1]:dirname% && (%BINDIR%bin/cpp -P -I%NCGGINCLUDEDIR% %in% | %TOOLDIR%ncgg)",
 | 
			
		||||
		"cd %out[1]:dirname% && (%BINDIR%%PLATDEP%/cpp -P -I%NCGGINCLUDEDIR% %in% | %TOOLDIR%ncgg)",
 | 
			
		||||
		"mv %out[1]:dirname%/tables.H %out[2]%"
 | 
			
		||||
	},
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -76,6 +76,9 @@ ncgg = simple {
 | 
			
		|||
 | 
			
		||||
-- Revision history
 | 
			
		||||
-- $Log$
 | 
			
		||||
-- Revision 1.1  2006-07-20 23:24:28  dtrg
 | 
			
		||||
-- Revision 1.2  2006-07-22 20:58:27  dtrg
 | 
			
		||||
-- cpp now gets installed in the right place.
 | 
			
		||||
--
 | 
			
		||||
-- Revision 1.1  2006/07/20 23:24:28  dtrg
 | 
			
		||||
-- First version in CVS.
 | 
			
		||||
--
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue