Fix "make clean" to delete symlinks created by "make".
authorBen Pfaff <blp@nicira.com>
Thu, 29 May 2008 19:55:55 +0000 (12:55 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 29 May 2008 19:55:55 +0000 (12:55 -0700)
datapath/linux-2.6/Makefile.main.in

index 565ee394d379b0c8b9da1f279624622fd8fda2f8..d6768a7f34967c9d14b32f6c6e1e6a3b20834517 100644 (file)
@@ -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;                             \