-avoid calling memcpy() with NULL argument, even if len is 0
[oweals/gnunet.git] / src / gns / nss / Makefile.am
index e17c7fa3f3aee56d8445986b5c4144e27576b7ab..2551b9562504c3dbfb6dd627cd65071336bea2bc 100644 (file)
@@ -15,7 +15,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public
 # License along with nss-gns; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 # USA.
 
 EXTRA_DIST = map-file \
@@ -36,9 +36,9 @@ nss_LTLIBRARIES = \
        libnss_gns6.la
 
 install-nssLTLIBRARIES:
-       LIBTOOL_SUDO_BINARY = $(SUDO_BINARY)
+       LIBTOOL_SUDO_BINARY=$(SUDO_BINARY)
 uninstall-nssLTLIBRARIES:
-       LIBTOOL_SUDO_BINARY = $(SUDO_BINARY)
+       LIBTOOL_SUDO_BINARY=$(SUDO_BINARY)
 endif
 endif
 
@@ -60,7 +60,7 @@ libnss_gns6_la_LDFLAGS=$(libnss_gns_la_LDFLAGS)
 if INSTALL_NSS
 if !MINGW
 install-data-hook:
-       $(top_srcdir)/src/gns/nss/install-nss-plugin.sh $(SHELL) $(top_builddir) $(nssdir) $(SUDO_BINARY)
+       $(top_srcdir)/src/gns/nss/install-nss-plugin.sh $(SHELL) $(top_builddir) $(DESTDIR)$(nssdir) $(SUDO_BINARY)
 
 uninstall-hook:
        $(top_srcdir)/src/gns/nss/uninstall-nss-plugin.sh $(SHELL) $(top_builddir) "rm -f $(nssdir)/libnss_gns.so.2" $(SUDO_BINARY)