From: Chuck Lever Date: Mon, 9 Dec 2013 17:59:51 +0000 (-0500) Subject: Fix "make dist" and "make distcheck" X-Git-Tag: libtirpc-0-2-4~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba51c2f2d92dc14314200f7d03bafe5fab90b103;p=libtirpc Fix "make dist" and "make distcheck" The "dist" target gives us a libtirpc.tar.gz tarball for distribution. The "distcheck" target is a useful test of libtirpc's Makefile infrastructure. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- diff --git a/Makefile.am b/Makefile.am index 1a7596b..78fb025 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,11 @@ SUBDIRS = src man doc ACLOCAL_AMFLAGS = -I m4 +noinst_HEADERS = tirpc/reentrant.h \ + tirpc/getpeereid.h \ + tirpc/libc_private.h \ + tirpc/un-namespace.h + nobase_include_HEADERS = tirpc/netconfig.h \ tirpc/rpcsvc/crypt.x \ tirpc/rpcsvc/crypt.h \ diff --git a/doc/Makefile.am b/doc/Makefile.am index 58de35b..e871ee6 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,5 +1,9 @@ +EXTRA_DIST = etc_netconfig install: install-am $(mkinstalldirs) $(DESTDIR)/$(sysconfdir) cp -p $(srcdir)/etc_netconfig $(DESTDIR)/$(sysconfdir)/netconfig chmod 0644 $(DESTDIR)/$(sysconfdir)/netconfig + +uninstall: uninstall-am + $(RM) $(DESTDIR)/$(sysconfdir)/netconfig diff --git a/src/Makefile.am b/src/Makefile.am index 4c859fd..0d29178 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,6 +5,7 @@ ## program built. We also don't bother trying to assemble code, or ## anything like that. +noinst_HEADERS = rpc_com.h AM_CPPFLAGS = -I$(top_srcdir)/tirpc -DPORTMAP -DINET6 \ -D_GNU_SOURCE -Wall -pipe