add Makefile targets to compile & install clients & server separately
This commit is contained in:
@@ -31,6 +31,16 @@ CLEANFILES = LCDd.8 lcdproc.1 lcdproc-config.5
|
||||
|
||||
|
||||
## convenience targets
|
||||
|
||||
.PHONY: install-server-man install-client-man
|
||||
|
||||
install-server-man: install-man8 install-man5
|
||||
|
||||
install-client-man: install-man1 install-man5
|
||||
|
||||
|
||||
.PHONY: install-html-guides install-html-developerguide install-html-userguide
|
||||
|
||||
install-html-guides: install-html-developerguide install-html-userguide
|
||||
|
||||
install-html-developerguide:
|
||||
|
||||
@@ -16,6 +16,8 @@ EXTRA_DIST = lcdproc-dev.docbook \
|
||||
xmlto = /usr/bin/xmlto
|
||||
developerguidedir = $(DESTDIR)$(htmldir)/developer-guide/
|
||||
|
||||
.PHONY: install-html-developerguide
|
||||
|
||||
install-html-developerguide: $(xmlto) lcdproc-dev.docbook
|
||||
$(mkinstalldirs) $(developerguidedir)
|
||||
$(xmlto) html -o $(developerguidedir) lcdproc-dev.docbook
|
||||
|
||||
@@ -19,6 +19,8 @@ EXTRA_DIST = bookinfo.docbook \
|
||||
xmlto = /usr/bin/xmlto
|
||||
userguidedir = $(DESTDIR)$(htmldir)/user-guide/
|
||||
|
||||
.PHONY: install-html-userguide
|
||||
|
||||
install-html-userguide: $(xmlto) lcdproc-user.docbook
|
||||
$(mkinstalldirs) $(userguidedir)
|
||||
$(xmlto) html -o $(userguidedir) lcdproc-user.docbook
|
||||
|
||||
Reference in New Issue
Block a user