Whamcloud - gitweb
This patch fixes up an error in the lib/blkid/Makefile.in which was causing
authorAndreas Dilger <adilger@clusterfs.com>
Sun, 20 Aug 2006 00:05:28 +0000 (20:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 20 Aug 2006 00:05:28 +0000 (20:05 -0400)
all lib/blkid/tst* files to be removed with "make clean", in particular
tst_types.c.  That was causing a failure of "make check" in an RPM source
tree.  Fix is to explicitly list the test binaries, as lib/ext2fs/Makefile.in
does.

As "make check" was only calling test_probe and tst_types (and none
of the other tst_* tests) it was not clear what was going on, and an
"hg update" would always return the old tst_types.c file back so the
problem was only being seen intermittently...  It isn't clear whether
you want the other tst_* programs to be run as part of "make check".

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
lib/blkid/ChangeLog
lib/blkid/Makefile.in

index 5a4d5ca..7b8d1ed 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-19  Andreas Dilger <adilger@clusterfs.com>
+
+       * Makefile.in (clean): Avoid removing the tst_*.c files, but
+               instead list each of the tst_* binaries explicitly.
+
 2006-05-14  Theodore Tso  <tytso@mit.edu>
 
        * probe.c (probe_udf): Fix signed vs. unsigned lint warning;
index 07b72ac..bf0012e 100644 (file)
@@ -175,7 +175,9 @@ uninstall::
        done
 
 clean::
-       $(RM) -f \#* *.s *.o *.orig *.a *~ *.bak tst_* tests/*.out tests/*.ok \
+       $(RM) -f \#* *.s *.o *.orig *.a *~ *.bak tst_cache tst_dev tst_devname \
+               tst_devno tst_getsize tst_probe tst_read tst_resolve tst_save \
+               tst_tag tst_types tests/*.out tests/*.ok \
                tests/*.img results test_probe core profiled/* \
                checker/* blkid_types.h ../libblkid.a ../libblkid_p.a \
                $(SMANPAGES) blkid