- fix ghost regex bug
[oweals/gnunet.git] / contrib / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
2
3
4 noinst_PROGRAMS = \
5  timeout_watchdog
6
7 if !MINGW
8 timeout_watchdog_SOURCES = \
9  timeout_watchdog.c 
10 else
11 timeout_watchdog_SOURCES = \
12  timeout_watchdog_w32.c
13 endif
14
15 noinst_SCRIPTS = \
16  terminate.py \
17  pydiffer.py \
18  gnunet_pyexpect.py \
19  gnunet_janitor.py
20
21 bin_SCRIPTS = \
22  gnunet-gns-import.sh
23
24 dist_pkgdata_DATA = \
25  gnunet-logo-color.png \
26  testing_hostkeys.dat
27
28 EXTRA_DIST = \
29  coverage.sh \
30  report.sh \
31  terminate.py.in \
32  gnunet_pyexpect.py.in \
33  gnunet_janitor.py.in \
34  pydiffer.py.in \
35  gnunet-gns-import.sh
36
37 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
38
39 %.py: %.py.in Makefile
40         $(do_subst) < $< > $@
41         chmod +x $@
42
43 # init_gnunet_redhat \
44 # init_gnunet_ubuntu \
45 # visualize_stats.sh \
46 # gnmessage.sh \
47 # junkinsert.sh \
48 # junklookup.sh \
49 # namespacehelper.sh 
50
51
52 check_PROGRAMS = \
53  test_gnunet_prefix
54
55 test_gnunet_prefix_SOURCES = \
56  test_gnunet_prefix.c
57
58 test_gnunet_prefix_LDADD = \
59   $(GCLIBADD) $(WINLIB) \
60   $(LTLIBICONV) \
61   -lltdl -lunistring $(XLIB) 
62
63 pkghellodir= $(pkgdatadir)/hellos
64
65 install-data-local:
66         $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
67         @$(NORMAL_INSTALL)
68         for hello in $(srcdir)/hellos/*; do \
69           if test -f $$hello; then \
70             $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
71           fi \
72         done
73
74 dist-hook:
75         if test -d $(srcdir)/hellos; then \
76           mkdir -p $(distdir)/hellos; \
77           for hello in $(srcdir)/hellos/*; do \
78             if test -f $$hello; then \
79               cp -p $$hello $(distdir)/hellos; \
80             fi \
81           done \
82         fi
83