-
Notifications
You must be signed in to change notification settings - Fork 39
/
Makefile.am
46 lines (36 loc) · 912 Bytes
/
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
SUBDIRS = \
filetea \
tests
DIST_SUBDIRS = \
filetea \
tests
EXTRA_DIST = \
autogen.sh \
filetead.8 \
filetead.conf
man8_MANS = filetead.8
configdir = $(sysconfdir)/filetea
config_DATA = filetead.conf
CLEANFILES = *~
MAINTAINERCLEANFILES = \
Makefile.in aclocal.m4 configure config.guess config.sub \
depcomp install-sh ltmain.sh missing mkinstalldirs config.h.in \
stamp-h.in compile
DISTCLEANFILES = \
cscope.files cscope.out
cscope.files:
find src -name '*.[ch]' > $@
cscope.out: cscope.files
cscope -b
dist-hook:
@if test -d "$(srcdir)/.git"; \
then \
echo Creating ChangeLog && \
( cd "$(top_srcdir)" && \
$(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|| ( rm -f ChangeLog.tmp ; \
echo Failed to generate ChangeLog >&2 ); \
else \
echo A git clone is required to generate a ChangeLog >&2; \
fi