]> granicus.if.org Git - sudo/commitdiff
Update clean and cleandir targets
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 24 Apr 2010 02:55:34 +0000 (22:55 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 24 Apr 2010 02:55:34 +0000 (22:55 -0400)
Makefile.in
src/Makefile.in

index 2aaf0d4bf182975f1e8e311a43b7078a828d2c8d..cef29a3c1b09ae9623c591baf23ebada8fa832f4 100644 (file)
@@ -30,14 +30,13 @@ config.status:
        fi
 
 clean: config.status
-       -rm -f compat/*.o
        for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
 
 mostlyclean: clean
 
 distclean: config.status
        -rm -rf compat/*.o pathnames.h config.h config.status config.cache \
-               config.log libtool stamp-h* autom4te.cache ChangeLog
+               config.log libtool stamp-* autom4te.cache ChangeLog
        for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
 
 cleandir: distclean
index c656aa6d1656fa49a3bd684b4165164e07581326..ac1c10a3b7df1309c4b6c779a8f1cb0a039f4f1f 100644 (file)
@@ -172,15 +172,12 @@ check:
        @echo nothing to check
 
 clean:
-       -rm -f *.a *.o *.lo stamp-* $(PROGS) core *.core core.*
+       -rm -f *.a *.o *.lo *.la $(PROGS) core *.core core.*
 
 mostlyclean: clean
 
-# XXX - remove some
 distclean: clean
-       -rm -rf Makefile pathnames.h config.h config.status config.cache \
-               config.log libtool sudo_noexec.lo .libs $(GENERATED) \
-               sudo_usage.h
+       -rm -rf Makefile .libs sudo_usage.h $(GENERATED)
 
 clobber: distclean