add Makefile targets to compile & install clients & server separately
This commit is contained in:
@@ -57,6 +57,7 @@ v.0.5dev (ongoing development)
|
||||
+ picolcd driver: support to send IR commands to LIRC (Jack Cleaver)
|
||||
+ picolcd driver: support for 20x4 picoLCDs (Nicu Pavel)
|
||||
+ hd44780 driver: new ConnectionType uss720 (Eric Pooch)
|
||||
* new make targets to compile & install server & clients separately
|
||||
|
||||
v.0.5.2
|
||||
* fix switching on/off the Load screen in lcdproc client using the menu
|
||||
|
||||
+26
-3
@@ -10,7 +10,30 @@ sysconf_DATA = LCDd.conf
|
||||
EXTRA_DIST = $(sysconf_DATA) CREDITS README.IRman contrib
|
||||
|
||||
|
||||
dist-hook:
|
||||
rm -rf `find $(distdir)/contrib -name CVS`
|
||||
|
||||
|
||||
## convenience targets
|
||||
|
||||
.PHONY: $(SUBDIRS) install-server install-clients
|
||||
|
||||
$(SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
|
||||
clients server: shared
|
||||
|
||||
install-server: server
|
||||
$(MAKE) -C server install
|
||||
$(MAKE) -C docs install-server-man
|
||||
|
||||
install-clients: clients
|
||||
$(MAKE) -C clients install
|
||||
$(MAKE) -C docs install-client-man
|
||||
|
||||
|
||||
.PHONY: install-html-guides install-html-developerguide install-html-userguide
|
||||
|
||||
install-html-guides: install-html-developerguide install-html-userguide
|
||||
|
||||
install-html-developerguide:
|
||||
@@ -19,6 +42,9 @@ install-html-developerguide:
|
||||
install-html-userguide:
|
||||
$(MAKE) -C docs $@
|
||||
|
||||
|
||||
.PHONY: dox topleveltags
|
||||
|
||||
dox:
|
||||
$(MAKE) -C docs $@
|
||||
|
||||
@@ -26,7 +52,4 @@ topleveltags:
|
||||
$(CTAGS) --format=1 -f - --languages=C --c-kinds=f --recurse=yes server shared clients \
|
||||
| perl -p -e 's/^([^\t]+)\t[^\t]+\/([^\t\/]+)\t(.*)$/$1\t$2\t$3/' > tags
|
||||
|
||||
dist-hook:
|
||||
rm -rf `find $(distdir)/contrib -name CVS`
|
||||
|
||||
## EOF
|
||||
|
||||
@@ -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