mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 13:57:41 +00:00
add manhtml target to generate html man pages for copying to the website
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2449 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
15
Makefile
15
Makefile
@@ -245,6 +245,10 @@ ifneq ($(MAKECMDGOALS),clean)
|
|||||||
include $(INCLUDEFILES)
|
include $(INCLUDEFILES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Man pages
|
||||||
|
MANPAGES := $(LIBMAN3FILES) $(LIBMAN5FILES) $(PROGDETECTMAN8FILES) $(PROGDUMPMAN8FILES) \
|
||||||
|
$(PROGSENSORSMAN1FILES) prog/sensord/sensord.8
|
||||||
|
|
||||||
# Making the dependency files - done automatically!
|
# Making the dependency files - done automatically!
|
||||||
dep :
|
dep :
|
||||||
|
|
||||||
@@ -317,6 +321,17 @@ $(LINUX)/.config:
|
|||||||
@echo
|
@echo
|
||||||
@exit 1
|
@exit 1
|
||||||
|
|
||||||
|
# Generate html man pages to be copied to the lm_sensors website.
|
||||||
|
# This uses the man2html from here
|
||||||
|
# http://ftp.math.utah.edu/pub/sgml/
|
||||||
|
# which works directly from the nroff source
|
||||||
|
manhtml:
|
||||||
|
$(MKDIR) html
|
||||||
|
cp $(MANPAGES) html
|
||||||
|
cd html ; \
|
||||||
|
man2html *.[1-8] ; \
|
||||||
|
$(RM) *.[1-8]
|
||||||
|
|
||||||
# Here, we define all implicit rules we want to use.
|
# Here, we define all implicit rules we want to use.
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
Reference in New Issue
Block a user