-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
55 lines (32 loc) · 1.07 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
## Process this file with automake to produce Makefile.in
## set automake strictness to 'foreign'
AUTOMAKE_OPTIONS = foreign
SUBDIRS = shared clients server docs scripts
sysconf_DATA = LCDd.conf
EXTRA_DIST = $(sysconf_DATA) CREDITS 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:
$(MAKE) -C docs $@
install-html-userguide:
$(MAKE) -C docs $@
.PHONY: dox topleveltags
dox:
$(MAKE) -C docs $@
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
## EOF