mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-04 05:50:31 -05:00 
			
		
		
		
	Back out Debian manpage compliance because it breaks RPM.
The Debian packaging rule bad-so-link-within-manual-page is a PITA, it is apparently suprerflous because our alias manpages with links as generated by a2x work just fine as they are. Trying to get rid of this Lintian error unfortunately breaks manpage lookup of alias pages on RPM systems. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4390 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									5ecabf4b6f
								
							
						
					
					
						commit
						c8ca528022
					
				@ -49,7 +49,12 @@ if (A2X_EXECUTABLE AND GZIP_EXECUTABLE AND SED_EXECUTABLE)
 | 
				
			|||||||
    add_custom_command (OUTPUT "${o}.gz"
 | 
					    add_custom_command (OUTPUT "${o}.gz"
 | 
				
			||||||
      COMMAND ${CMAKE_COMMAND} ARGS -E make_directory "${d}"
 | 
					      COMMAND ${CMAKE_COMMAND} ARGS -E make_directory "${d}"
 | 
				
			||||||
      COMMAND ${A2X_EXECUTABLE} ARGS ${A2X_OPTS} -D "${d}" "${f}"
 | 
					      COMMAND ${A2X_EXECUTABLE} ARGS ${A2X_OPTS} -D "${d}" "${f}"
 | 
				
			||||||
      COMMAND ${SED_EXECUTABLE} ARGS -e "'s@.so @&man${section}/@'" -i.orig "${d}/*.${section}"
 | 
					#
 | 
				
			||||||
 | 
					# the  following edit  command was  an attempt  to comply  with Debian
 | 
				
			||||||
 | 
					# packaging rules for manpages but hopelessly failed because it breaks
 | 
				
			||||||
 | 
					# manpage usage on RPM installs
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					#      COMMAND ${SED_EXECUTABLE} ARGS -e "'s@.so @&man${section}/@'" -i.orig "${d}/*.${section}"
 | 
				
			||||||
      COMMAND ${GZIP_EXECUTABLE} ARGS -f9 "${d}/*.${section}"
 | 
					      COMMAND ${GZIP_EXECUTABLE} ARGS -f9 "${d}/*.${section}"
 | 
				
			||||||
      DEPENDS "${f}"
 | 
					      DEPENDS "${f}"
 | 
				
			||||||
      COMMENT "Generating ${o}.gz"
 | 
					      COMMENT "Generating ${o}.gz"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user