summaryrefslogtreecommitdiff
path: root/contrib/scripts/gnunet-logread/Makefile.am
blob: 790b58fea183c993f6d85105523a443e2e47e9f1 (plain)
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
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include

do_subst = $(AWK) -v py="$(PERL)" '{gsub("@PERLEXE@",py); print $$0}'

SUFFIXES = .in

gnunet-logread: gnunet-logread.in Makefile
	$(do_subst) < $(srcdir)/gnunet-logread.in > gnunet-logread
	chmod +x gnunet-logread

gnunet-logread-ipc-sdedit: gnunet-logread-ipc-sdedit.in Makefile
	$(do_subst) < $(srcdir)/gnunet-logread-ipc-sdedit.in > gnunet-logread-ipc-sdedit
	chmod +x gnunet-logread-ipc-sdedit

CLEANFILES=	\
		gnunet-logread \
		gnunet-logread-ipc-sdedit

noinst_SCRIPTS =		\
		$(CLEANFILES) \
		gnunet-logread-ipc

EXTRA_DIST = \
  gnunet-logread.in \
  gnunet-logread-ipc-sdedit.in \
  gnunet-logread-ipc