From d704abc0a6342ce487501cc6bbe43f8b53174507 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 26 Dec 2014 14:29:21 -0200 Subject: [PATCH] install twister-control script --- Makefile.am | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4d922b90..d90254f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,9 @@ ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = \ - COPYING + COPYING twister-control.py + +dist_doc_DATA = README.md LIBLEVELDB = src/leveldb/libleveldb.a LIBMEMENV = src/leveldb/libmemenv.a @@ -15,6 +17,7 @@ $(LIBLEVELDB) $(LIBMEMENV): OPT="$(CXXFLAGS) $(CPPFLAGS)" bin_PROGRAMS = twisterd +bin_SCRIPTS = twister-control KADEMLIA_SOURCES = \ libtorrent/src/kademlia/dht_tracker.cpp \ @@ -188,7 +191,11 @@ AM_CPPFLAGS = -ftemplate-depth-100 -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS AM_LDFLAGS = @OPENSSL_LDFLAGS@ -CLEANFILES = $(LIBLEVELDB) $(LIBMEMENV) +twister-control: twister-control.py Makefile + cat < $(srcdir)/twister-control.py > twister-control + chmod +x twister-control + +CLEANFILES = $(LIBLEVELDB) $(LIBMEMENV) $(bin_SCRIPTS) $(bin_PROGRAMS) clean-local: -$(MAKE) -C src/leveldb clean