Update "make clean" and "make distclean" targets
authorChuck Lever <chuck.lever@oracle.com>
Mon, 9 Dec 2013 20:50:35 +0000 (15:50 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 9 Dec 2013 20:56:09 +0000 (15:56 -0500)
Get rid of cscope and editor turds as well as intermediate
Makefiles.  The top level Makefile should remove old tarballs.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Makefile.am
doc/Makefile.am
man/Makefile.am
src/Makefile.am

index 78fb025ef23a6627e457ba62fb8975f061ef00ed..9b812eb9b74c831afa39f556385d32f929dcb16f 100644 (file)
@@ -40,3 +40,6 @@ nobase_include_HEADERS = tirpc/netconfig.h \
     
 pkgconfigdir=$(libdir)/pkgconfig
 pkgconfig_DATA = libtirpc.pc
+
+CLEANFILES            = cscope.* *~
+DISTCLEANFILES        = Makefile.in libtirpc*.tar.gz
index cb78ff027d6951c6ba0c2d4b447791303ce3d96c..fe5a29b0384cd71529b0f61ad8d177fda16166bf 100644 (file)
@@ -1 +1,4 @@
 dist_sysconf_DATA      = netconfig
+
+CLEANFILES            = cscope.* *~
+DISTCLEANFILES        = Makefile.in
index b84dd244ac7b4819354b9d27b9e6937dbcc98d56..8f764b7506927358b40f870947a8d3dd3097acc1 100644 (file)
@@ -7,3 +7,5 @@ man3_MANS = bindresvport.3t des_crypt.3t getnetconfig.3t getnetpath.3t \
 
 EXTRA_DIST = $(man5_MANS) $(man3_MANS)
 
+CLEANFILES            = cscope.* *~
+DISTCLEANFILES        = Makefile.in
index 0d291785704e3af0fb4719b71c2c220f0f2aa556..3029b78aff9c3e7302dc3a4939f2317bceb38365 100644 (file)
@@ -67,3 +67,6 @@ endif
 ## libtirpc_a_SOURCES += netname.c netnamer.c rpcdname.c \
 ## libtirpc_a_SOURCES += rtime.c \
 ## auth_time.c auth_des.c authdes_prot.c 
+
+CLEANFILES            = cscope.* *~
+DISTCLEANFILES        = Makefile.in