blob: 38e8d06a688f082b2cf546b82f461b5da3ee07eb
1 | ## Process this file with automake to produce Makefile.in |
2 | |
3 | if ENABLE_PROXY |
4 | proxy_dirs = daemon |
5 | else |
6 | proxy_dirs = |
7 | endif |
8 | |
9 | EXTRA_DIST = \ |
10 | BUGS \ |
11 | COPYING \ |
12 | COPYING.LIB \ |
13 | config.rpath \ |
14 | depcomp \ |
15 | zvbi.spec.in |
16 | |
17 | DISTCLEANFILES = site_def.h |
18 | |
19 | # Attn order matters. |
20 | SUBDIRS = \ |
21 | m4 \ |
22 | src \ |
23 | $(proxy_dirs) \ |
24 | contrib \ |
25 | examples \ |
26 | test \ |
27 | po \ |
28 | doc |
29 | |
30 | ACLOCAL_AMFLAGS = -I m4 |
31 | |
32 | pkgconfigdir = $(libdir)/pkgconfig |
33 | pkgconfig_DATA = zvbi-0.2.pc |
34 | |
35 | dist-hook: |
36 | chown -R 500:100 $(distdir) |
37 | |
38 | fsf-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 |