-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile.am
56 lines (46 loc) · 946 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
47
48
49
50
51
52
53
54
55
56
## Process this file with automake to produce Makefile.in
if ENABLE_PROXY
proxy_dirs = daemon
else
proxy_dirs =
endif
EXTRA_DIST = \
BUGS \
COPYING \
COPYING.LIB \
config.rpath \
depcomp \
zvbi.spec.in
DISTCLEANFILES = site_def.h
# Attn order matters.
SUBDIRS = \
m4 \
src \
$(proxy_dirs) \
contrib
if ENABLE_EXAMPLES
SUBDIRS += examples
endif
if ENABLE_TESTS
SUBDIRS += test
endif
SUBDIRS += \
po \
doc
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = zvbi-0.2.pc
dist-hook:
chown -R 500:100 $(distdir)
fsf-addr-update:
for dir in $(SUBDIRS); do \
cd $$dir ; \
for file in *.c *.h *.pl *.sh README ; do \
old='675 Mass Ave, Cambridge, MA 02139, USA' ; \
new='51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA' ; \
if grep -e "$$old" $$file ; then \
sed "s/$$old/$$new/" <$$file >$$file.tmp && mv $$file.tmp $$file ; \
fi
done ; \
cd - ; \
done