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