summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-16 19:14:00 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-16 19:14:00 +0000
commit4a2770ab06d59e595fc5f12d6a4db962abfff2c1 (patch)
tree37d611dfee52e0f733528c3e2af3021aae843fae
parent31a6fe5c9c18f9d3021a2ac023582cd15fc35b27 (diff)
downloaddrakx-4a2770ab06d59e595fc5f12d6a4db962abfff2c1.tar
drakx-4a2770ab06d59e595fc5f12d6a4db962abfff2c1.tar.gz
drakx-4a2770ab06d59e595fc5f12d6a4db962abfff2c1.tar.bz2
drakx-4a2770ab06d59e595fc5f12d6a4db962abfff2c1.tar.xz
drakx-4a2770ab06d59e595fc5f12d6a4db962abfff2c1.zip
allow to clean local directory only
-rw-r--r--mdk-stage1/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index ffe6bc254..e885c63c6 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -226,10 +226,12 @@ $(STAGE1OBJS-FULL): %-FULL.o: %.c
$(DIET) $(COMPILE) $(INCLUDES) -DENABLE_BOOTSPLASH -c $<
-clean:
+clean: localclean
@for n in $(DIRS); do \
(cd $$n; make clean) \
done
+
+localclean:
rm -f *.o .depend *.rdz *.img rescue-gui init-move $(BINS)