]> granicus.if.org Git - libtirpc/commitdiff
Fix "make dist" and "make distcheck"
authorChuck Lever <chuck.lever@oracle.com>
Mon, 9 Dec 2013 17:59:51 +0000 (12:59 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 9 Dec 2013 18:42:44 +0000 (13:42 -0500)
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 <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Makefile.am
doc/Makefile.am
src/Makefile.am

index 1a7596b829d08d1359e0e930b0f20681c2a679dc..78fb025ef23a6627e457ba62fb8975f061ef00ed 100644 (file)
@@ -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 \
index 58de35b5210cd74a3bbf4d28d7f6e24ced824f9d..e871ee6282998635ce7da785df96f4186c5af918 100644 (file)
@@ -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
index 4c859fd31f6c37042f65d06e4fe72b43a4a2bdab..0d291785704e3af0fb4719b71c2c220f0f2aa556 100644 (file)
@@ -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