fix disting rules
authorChristian Grothoff <christian@grothoff.org>
Wed, 3 Apr 2019 12:48:22 +0000 (14:48 +0200)
committerChristian Grothoff <christian@grothoff.org>
Wed, 3 Apr 2019 12:48:22 +0000 (14:48 +0200)
Makefile.am
contrib/scripts/gnunet-logread/Makefile.am
lint/Makefile.am
po/POTFILES.in
src/namestore/test_namestore_delete.sh
src/namestore/test_namestore_lookup.sh
src/namestore/test_namestore_put.sh

index 19d6a8bef3916cdbe2664300067a1b1b88dd2b88..796225a04090ac6171127b7d1818aca5218f2e9c 100644 (file)
@@ -5,13 +5,16 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include
 if DOCUMENTATION_ONLY
   SUBDIRS = doc
 else
-  SUBDIRS = m4 src po pkgconfig lint
+  SUBDIRS = m4 src po pkgconfig
 endif
 
 # documentation on / off switch (affects all of the documentation)
 if DOCUMENTATION
   SUBDIRS += doc
 endif
+if HAVE_EXPERIMENTAL
+  SUBIDRS += lint
+endif
 
 # only manpages, needs "doc" subdir
 if INCLUDE_MANPAGES
index 82c99494c2c68aae582ec35315e2bcd6b114958f..7903c07de181675a99ea1153931ce757ba622a3d 100644 (file)
@@ -20,3 +20,8 @@ CLEANFILES=   \
 noinst_SCRIPTS =               \
                $(CLEANFILES) \
                gnunet-logread-ipc
+
+EXTRA_DIST = \
+  gnunet-logread.in \
+  gnunet-logread-ipc-sdedit.in \
+  gnunet-logread-ipc
index 0de8da54a21ece3e45a25f96da5d87ce84f694de..f78cdd5f63a1daa18545e3b8f2a995f72978599d 100644 (file)
@@ -57,3 +57,6 @@ check-texinfo:
        @cd $(top_srcdir)/doc/tutorial ; find . -type f ! -path '*/.*' -name '*.texi' -print0 | xargs -0 awk '/XXX/ {print FILENAME":"NR":"$$0}' >> $(srcdir)/texinfo_tutorial.log || true
 
 check-linters: check-bashism check-python check-man check-texinfo
+
+EXTRA_DIST = \
+  checkbashisms.pl.in
index 67c22aaed99fd8c293688c6bc77d6871a4373cf2..e4fba08acd340310efcab9109eea7e9608b99b5b 100644 (file)
@@ -418,8 +418,6 @@ src/transport/plugin_transport_udp_broadcasting.c
 src/transport/plugin_transport_udp.c
 src/transport/plugin_transport_unix.c
 src/transport/plugin_transport_wlan.c
-src/transport/plugin_transport_xt.c
-src/transport/plugin_transport_xu.c
 src/transport/tcp_connection_legacy.c
 src/transport/tcp_server_legacy.c
 src/transport/tcp_server_mst_legacy.c
index 8c776104a7b23565ab457278c47fc368455b5826..44ea1e66c0b7ddd7e98c14131e6268117673be34 100755 (executable)
@@ -61,15 +61,15 @@ for LINE in $OUTPUT ;
 stop_peer
 
 
-if [ $FOUND_NAME == false -a $FOUND_IP != false ]
+if [ $FOUND_NAME = false -a $FOUND_IP != false ]
 then
   echo "PASS: Delete name in namestore"
   exit 0
-elif [ $FOUND_NAME == true ]
+elif [ $FOUND_NAME = true ]
 then
   echo "FAIL: Delete name in namestore: name returned"
   exit 1
-elif [ $FOUND_IP == true ]
+elif [ $FOUND_IP = true ]
 then
   echo "FAIL: Delete name in namestore: IP returned"
   exit 1
index 90735b17e094fd0e67c624a9f98fa28807658f80..1c96e102af35e6c70498b01a86ad93d944791abf 100755 (executable)
@@ -19,20 +19,10 @@ TEST_IP_PLUS="127.0.0.1"
 TEST_RECORD_NAME_DNS="www3"
 which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
 
-function start_peer
-{
-       gnunet-arm -s -c $CONFIGURATION
-       gnunet-identity -C testego -c $CONFIGURATION
-}
+# start peer
+gnunet-arm -s -c $CONFIGURATION
+gnunet-identity -C testego -c $CONFIGURATION
 
-function stop_peer
-{
-       gnunet-identity -D testego -c $CONFIGURATION
-       gnunet-arm -e -c $CONFIGURATION
-}
-
-
-start_peer
 # Create a public record
 gnunet-namestore -p -z testego -a -n $TEST_RECORD_NAME_DNS -t A -V $TEST_IP_PLUS -e never -c $CONFIGURATION
 NAMESTORE_RES=$?
@@ -52,19 +42,21 @@ for LINE in $OUTPUT ;
                FOUND_IP=true;
                #echo $FOUND_IP
        fi
- done
-stop_peer
+done
+# stop peer
+gnunet-identity -D testego -c $CONFIGURATION
+gnunet-arm -e -c $CONFIGURATION
 
 
-if [ $FOUND_NAME == true -a $FOUND_IP == true ]
+if [ $FOUND_NAME = true -a $FOUND_IP = true ]
 then
   echo "PASS: Lookup name in namestore"
   exit 0
-elif [ $FOUND_NAME == false ]
+elif [ $FOUND_NAME = false ]
 then
   echo "FAIL: Lookup name in namestore: name not returned"
   exit 1
-elif [ $FOUND_IP == false ]
+elif [ $FOUND_IP = false ]
 then
   echo "FAIL: Lookup name in namestore: IP not returned"
   exit 1
index 6b6647d5f1ecac3eb08d063717753a46ba97b068..eaf7d44b4230cde8941ded1cb8c19d7e6d6ce026 100755 (executable)
@@ -46,7 +46,7 @@ gnunet-namestore -p -z testego -a -n $TEST_RECORD_NAME_DNS -t A -V $TEST_IP_PLUS
 NAMESTORE_RES=$?
 stop_peer
 
-if [ $NAMESTORE_RES == 0 ]
+if [ $NAMESTORE_RES = 0 ]
 then
   echo "PASS: Creating name in namestore"
 else