-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
53 lines (40 loc) · 1.87 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
#------------------------------------------------------------------------------#
# Top-level Makefile.am
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Recurse subdires
#------------------------------------------------------------------------------#
SUBDIRS = lib bin @DOC@
#------------------------------------------------------------------------------#
# Extra distribution files
#------------------------------------------------------------------------------#
EXTRA_DIST = src/hm_hash.hh
#------------------------------------------------------------------------------#
# Build documentation
#------------------------------------------------------------------------------#
doc: FORCE
@([ -d @DOC@ ] && cd @DOC@ && make doc > doxygen.log 2>&1)
#------------------------------------------------------------------------------#
# Extra install exec
#------------------------------------------------------------------------------#
install-exec-hook:
@(install -c -m 644 ${top_builddir}/local/hm_config.h ${includedir})
#------------------------------------------------------------------------------#
# Extra install data
#------------------------------------------------------------------------------#
install-data-hook:
@([ -d ${top_builddir}/@DOC@ ] && \
([ -d ${mandir} ] || mkdir -p ${mandir}) && \
([ -d ${top_builddir}/doc/man ] && \
cp -r ${top_builddir}/doc/man/* ${mandir}))
uninstall-hook:
@([ -d ${mandir} ] && \
rm -rf ${mandir}/*/hm_* && \
rm -rf ${mandir}/*/hashmark.* \
rm -rf ${mandir}/*/*_hash_mark* && \
[ -d ${includedir} ] && \
rm -rf ${includedir}/hm_config.h)
#------------------------------------------------------------------------------#
# Dummy rule
#------------------------------------------------------------------------------#
FORCE: