ndns: Pass just /var as localstatedir

Refs: #4810
Change-Id: Ief3c1ae621b7fb01abc73c6ef04a81ed7b2de5e8
diff --git a/README.md b/README.md
index b0d6426..2adfa16 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,13 @@
-NDN Binary packages for Ubuntu
-==============================
+# NDN binary packages for Ubuntu
 
-Prerequisites
--------------
+## Prerequisites
 
 The following packages needs to be installed in order to build source .deb package to be
 upload to PPA:
 
     sudo apt-get install git devscripts debhelper dh-make
 
-Building source packages
-------------------------
+## Building source packages
 
 The build process is very much automated and the following command can be used to build
 all packages and upload them to the ppa.
@@ -22,13 +19,12 @@
 
 To build a specific package, go to the package's folder and run the same `make dput` command.
 
-Advanced uses
--------------
+## Advanced uses
 
-The scripts by default create source packages for Ubuntu 12.04 (precise), 13.10 (saucy),
-and 14.04 (trusty).  If necessary, default actions and distributions can be overriden:
+The scripts by default create source packages for Ubuntu 16.04 (xenial) and 18.04 (bionic).
+If necessary, default actions and distributions can be overriden:
 
-To only build source packages (no upload) only for Ubuntu 12.04:
+To only build source packages (no upload), only for Ubuntu 12.04:
 
     make build DISTROS=precise
 
@@ -36,4 +32,4 @@
 
     make build DEBUILD=debuild DISTROS=precise
 
-The build package will be in `<package-folder>/work/<package-name>_<version>.deb`
+The built package will be in `<package-folder>/work/<package-name>_<version>.deb`
diff --git a/ndns/debian/rules b/ndns/debian/rules
index f2a58ae..618b4ae 100755
--- a/ndns/debian/rules
+++ b/ndns/debian/rules
@@ -18,7 +18,7 @@
 	dh $@ --parallel --with=systemd
 
 override_dh_auto_configure:
-	LDFLAGS="${LDFLAGS}" CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --boost-libs="$(LIBDIR)"
+	LDFLAGS="${LDFLAGS}" CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --boost-libs="$(LIBDIR)"
 
 override_dh_auto_build:
 	./waf build