Changeset 2449

Show
Ignore:
Timestamp:
04/18/04 05:37:28 (5 years ago)
Author:
mds
Message:

add manhtml target to generate html man pages for copying to the website

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r2273 r2449  
    245245include $(INCLUDEFILES) 
    246246endif 
     247 
     248# Man pages 
     249MANPAGES := $(LIBMAN3FILES) $(LIBMAN5FILES) $(PROGDETECTMAN8FILES) $(PROGDUMPMAN8FILES) \ 
     250            $(PROGSENSORSMAN1FILES) prog/sensord/sensord.8 
    247251 
    248252# Making the dependency files - done automatically! 
     
    318322        @exit 1 
    319323 
     324# Generate html man pages to be copied to the lm_sensors website. 
     325# This uses the man2html from here 
     326# http://ftp.math.utah.edu/pub/sgml/ 
     327# which works directly from the nroff source 
     328manhtml: 
     329        $(MKDIR) html 
     330        cp $(MANPAGES) html 
     331        cd html ; \ 
     332        man2html *.[1-8] ; \ 
     333        $(RM) *.[1-8] 
     334 
    320335# Here, we define all implicit rules we want to use. 
    321336