This target finds all <programlisting role="pgpkey"> elements in the Handbook and writes out a flat text file suitable for importing into PGP or GPG. This can be used in the web build to automatically update the public keyring of FreeBSD developers.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			744 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			744 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| <!-- $FreeBSD$ -->
 | |
| 
 | |
| <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
 | |
| <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
 | |
| ]>
 | |
| 
 | |
| <style-sheet>
 | |
|   <style-specification use="docbook">
 | |
|     <style-specification-body>
 | |
| 
 | |
|       (element book
 | |
|         (process-node-list (select-elements (descendants (current-node)) (normalize "programlisting"))))
 | |
| 
 | |
|       (element programlisting
 | |
|         (if (equal? (attribute-string (normalize "role")) "pgpkey")
 | |
|             (make sequence
 | |
| 	      (process-children)
 | |
| 	      (literal "
 | |
| "))
 | |
| 	    (empty-sosofo)))
 | |
| 
 | |
|     </style-specification-body>
 | |
|   </style-specification>
 | |
|       
 | |
|   <external-specification id="docbook" document="docbook.dsl">
 | |
| </style-sheet>
 |