summaryrefslogtreecommitdiff
path: root/Makefile.am (plain)
blob: 38e8d06a688f082b2cf546b82f461b5da3ee07eb
1## Process this file with automake to produce Makefile.in
2
3if ENABLE_PROXY
4proxy_dirs = daemon
5else
6proxy_dirs =
7endif
8
9EXTRA_DIST = \
10 BUGS \
11 COPYING \
12 COPYING.LIB \
13 config.rpath \
14 depcomp \
15 zvbi.spec.in
16
17DISTCLEANFILES = site_def.h
18
19# Attn order matters.
20SUBDIRS = \
21 m4 \
22 src \
23 $(proxy_dirs) \
24 contrib \
25 examples \
26 test \
27 po \
28 doc
29
30ACLOCAL_AMFLAGS = -I m4
31
32pkgconfigdir = $(libdir)/pkgconfig
33pkgconfig_DATA = zvbi-0.2.pc
34
35dist-hook:
36 chown -R 500:100 $(distdir)
37
38fsf-addr-update:
39 for dir in $(SUBDIRS); do \
40 cd $$dir ; \
41 for file in *.c *.h *.pl *.sh README ; do \
42 old='675 Mass Ave, Cambridge, MA 02139, USA' ; \
43 new='51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA' ; \
44 if grep -e "$$old" $$file ; then \
45 sed "s/$$old/$$new/" <$$file >$$file.tmp && mv $$file.tmp $$file ; \
46 fi
47 done ; \
48 cd - ; \
49 done
50