File: Makefile.am

package info (click to toggle)
filetea 0.1.18-1
  • links: PTS
  • area: main
  • in suites: buster, sid
  • size: 1,216 kB
  • sloc: ansic: 1,830; sh: 151; makefile: 116
file content (49 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (3)
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
SUBDIRS = \
	filetea \
	html

DIST_SUBDIRS = \
	filetea \
	html

EXTRA_DIST = \
	autogen.sh \
	filetea.8 \
	filetea.conf

man8_MANS = filetea.8

systemdsystemunitdir = /lib/systemd/system
systemdsystemunit_DATA = filetea.service

configdir = $(sysconfdir)/filetea
config_DATA = filetea.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