Whamcloud - gitweb
Fix "make clean" and "make distclean"
authorTheodore Ts'o <tytso@mit.edu>
Wed, 1 Jul 2015 23:40:23 +0000 (19:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Jul 2015 23:40:23 +0000 (19:40 -0400)
There were some generated files that weren't getting removed by the
clean and distclean targets; fix this.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Makefile.in
e2fsck/Makefile.in
lib/blkid/Makefile.in
lib/e2p/Makefile.in
lib/ss/Makefile.in
lib/uuid/Makefile.in
util/Makefile.in

index f5727a8..eedf757 100644 (file)
@@ -115,7 +115,8 @@ clean:: clean-recursive clean-local clean-doc
        $(RM) -f $(SUBS) 
 
 distclean: distclean-doc distclean-recursive
-       $(RM) -rf autom4te.cache e2fsprogs.spec ext2ed/Makefile po/stamp-po
+       $(RM) -rf autom4te.cache e2fsprogs.spec ext2ed/Makefile po/stamp-po \
+               asm_types.h config.log public_config.h parse-types.log
        $(MAKE) distclean-local 
 
 realclean: realclean-recursive realclean-local
index 8e555ff..8f7f338 100644 (file)
@@ -264,7 +264,8 @@ uninstall:
 clean::
        $(RM) -f $(PROGS) \#* *\# *.s *.o *.a *~ core e2fsck.static \
                e2fsck.shared e2fsck.profiled flushb e2fsck.8 \
-               tst_problem tst_region tst_refcount e2fsck.conf.5 \
+               tst_problem tst_region tst_refcount tst_crc32 \
+               gen_crc32table e2fsck.conf.5 \
                prof_err.c prof_err.h test_profile
        $(RM) -rf profiled
 
index e020a77..275ba84 100644 (file)
@@ -179,7 +179,7 @@ clean::
                tst_tag tst_types tests/*.out tests/*.ok \
                tests/*.img results test_probe core profiled/* \
                blkid.h blkid_types.h ../libblkid.a ../libblkid_p.a \
-               $(SMANPAGES) blkid
+               $(SMANPAGES) blkid blkid.pc
        @echo rmdir tests/tmp tests
        @(rmdir tests/tmp tests 2> /dev/null ; exit 0)
 
index 38d2cad..93d97c4 100644 (file)
@@ -102,7 +102,7 @@ uninstall::
 
 clean::
        $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/*
-       $(RM) -f ../libe2p.a ../libe2p_p.a tst_ostype tst_feature
+       $(RM) -f ../libe2p.a ../libe2p_p.a tst_ostype tst_feature e2p.pc
 
 mostlyclean:: clean
 distclean:: clean
index 223a7f7..cfe0f38 100644 (file)
@@ -172,7 +172,7 @@ check:: all test_ss
 clean::
        $(RM) -f ../libss.a libss.a mk_cmds ss_err.h ss_err.c std_rqs.c \
                tst_cmds.c test_ss test_out test.diff *.o *~ \#* *.bak core \
-               test_cmd.c
+               test_cmd.c ss.pc
 
 mostlyclean:: clean
 distclean:: clean
index f51714b..acdcea6 100644 (file)
@@ -167,8 +167,9 @@ uninstall::
        $(RM) -f $(DESTDIR)$(man3dir)/uuid_generate_random.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3
 
 clean::
-       $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* uuid.h
-       $(RM) -f ../libuuid.a ../libuuid_p.a tst_uuid uuid_time $(SMANPAGES)
+       $(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* uuid.h \
+               ../libuuid.a ../libuuid_p.a tst_uuid uuid_time \
+               uuid.pc uuid_types.h $(SMANPAGES)
 
 check:: tst_uuid
        LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_uuid
index 5171c1c..96117d9 100644 (file)
@@ -53,7 +53,7 @@ tarballs: gen-tarball
 
 clean::
        $(RM) -f $(PROGS) \#* *.s *.o *.a *~ core *.tar.gz gen-tarball \
-               copy-sparse dirpaths.h
+               copy-sparse dirpaths.h install-symlink
 
 mostlyclean: clean