From: Ben Pfaff Date: Thu, 29 May 2008 19:55:55 +0000 (-0700) Subject: Fix "make clean" to delete symlinks created by "make". X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d558974c4ab02567ec3d8345c002db4b985e355f;p=openvswitch Fix "make clean" to delete symlinks created by "make". --- diff --git a/datapath/linux-2.6/Makefile.main.in b/datapath/linux-2.6/Makefile.main.in index 565ee394..d6768a7f 100644 --- a/datapath/linux-2.6/Makefile.main.in +++ b/datapath/linux-2.6/Makefile.main.in @@ -24,7 +24,7 @@ check: all clean: rm -f $(all_objects) *.ko *_mod.* Module.symvers rm -f `find . -name \*.cmd` - for d in $(sources); do \ + for d in $(all_sources); do \ if test -h $$d; then \ rm $$d; \ fi; \