Updated to clean the gcov files. Not used on Debian.

This commit is contained in:
nekral-guest
2009-05-14 19:51:55 +00:00
parent 6ff5ab6af4
commit 8f4d210b31
+21 -12
View File
@@ -1,7 +1,5 @@
Index: shadow-4.1.2/lib/Makefile.am
===================================================================
--- shadow-4.1.2.orig/lib/Makefile.am 2008-09-13 15:59:00.620008129 +0000
+++ shadow-4.1.2/lib/Makefile.am 2008-09-13 15:59:34.012007695 +0000
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,6 +1,8 @@
AUTOMAKE_OPTIONS = 1.0 foreign
@@ -11,10 +9,8 @@ Index: shadow-4.1.2/lib/Makefile.am
DEFS =
noinst_LTLIBRARIES = libshadow.la
Index: shadow-4.1.2/libmisc/Makefile.am
===================================================================
--- shadow-4.1.2.orig/libmisc/Makefile.am 2008-09-13 15:59:03.492007531 +0000
+++ shadow-4.1.2/libmisc/Makefile.am 2008-09-13 15:59:39.588002811 +0000
--- a/libmisc/Makefile.am
+++ b/libmisc/Makefile.am
@@ -1,6 +1,8 @@
EXTRA_DIST = .indent.pro xgetXXbyYY.c
@@ -24,10 +20,8 @@ Index: shadow-4.1.2/libmisc/Makefile.am
INCLUDES = -I$(top_srcdir)/lib
noinst_LIBRARIES = libmisc.a
Index: shadow-4.1.2/src/Makefile.am
===================================================================
--- shadow-4.1.2.orig/src/Makefile.am 2008-09-13 15:58:57.640009757 +0000
+++ shadow-4.1.2/src/Makefile.am 2008-09-13 15:59:46.948008401 +0000
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,6 +6,8 @@
usbindir = ${prefix}/sbin
suidperms = 4755
@@ -37,3 +31,18 @@ Index: shadow-4.1.2/src/Makefile.am
INCLUDES = \
-I${top_srcdir}/lib \
-I$(top_srcdir)/libmisc
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,12 @@
endif
export CFLAGS
+clean:: clean_gcov
+
+clean_gcov:
+ find . -name "*.gcda" -delete
+ find . -name "*.gcno" -delete
+
# Add extras to the install process:
binary-install/login::
dh_installpam -p login