Add a little bit of color to the User Guide by supplying a CSS stylesheet,
which adds colored borders to notes and screen contents.
This commit is contained in:
@@ -9,6 +9,7 @@ EXTRA_DIST = bookinfo.docbook \
|
||||
how-to-obtain.docbook \
|
||||
installation.docbook \
|
||||
introduction.docbook \
|
||||
lcdproc-user.css \
|
||||
lcdproc-user.docbook \
|
||||
license.docbook \
|
||||
parameters.ent \
|
||||
@@ -17,13 +18,15 @@ EXTRA_DIST = bookinfo.docbook \
|
||||
|
||||
|
||||
## convenience targets
|
||||
xmlto = /usr/bin/xmlto
|
||||
xmlto ?= /usr/bin/xmlto
|
||||
userguidedir = $(DESTDIR)$(htmldir)/user-guide/
|
||||
|
||||
.PHONY: install-html-userguide
|
||||
|
||||
install-html-userguide: $(xmlto) lcdproc-user.docbook
|
||||
install-html-userguide: $(xmlto) lcdproc-user.docbook lcdproc-user.css
|
||||
$(mkinstalldirs) $(userguidedir)
|
||||
$(xmlto) html -o $(userguidedir) lcdproc-user.docbook
|
||||
$(xmlto) html -o $(userguidedir) \
|
||||
--stringparam html.stylesheet=lcdproc-user.css lcdproc-user.docbook
|
||||
cp lcdproc-user.css $(userguidedir)
|
||||
|
||||
## EOF
|
||||
|
||||
Reference in New Issue
Block a user