clean: busybox-clean dialog-clean initrd-clean
-dist-clean: busybox-distclean dialog-distclean initrd-distclean
+distclean: busybox-distclean dialog-distclean initrd-distclean
check-root:
@if [ "$$UID" != "0" ]; then \
busybox-clean:
rm -vrf $(WORK)/busybox-$(BUSYBOX_VERSION)
-busybox-distclean:
+busybox-distclean: busybox-clean
rm -vf $(WORK)/busybox-$(BUSYBOX_VERSION).tar.bz2
$(WORK)/dialog-$(DIALOG_VERSION).tgz:
dialog-clean:
rm -vrf $(WORK)/dialog-$(DIALOG_VERSION)
-dialog-distclean:
- rm -rf $(WORK)/dialog-$(DIALOG_VERSION).tgz
+dialog-distclean: dialog-clean
+ rm -vf $(WORK)/dialog-$(DIALOG_VERSION).tgz
$(WORK)/mnt:
mkdir -p $(WORK)/mnt
initrd: $(WORK)/initrd.gz
initrd-clean: check-root
- rm -rf initrd.gz
+ rm -vf $(WORK)/initrd.gz
initrd-distclean: initrd-clean