Revision fc8e320e Makefile

b/Makefile
237 237
	rm -f qemu-img-cmds.h
238 238
	$(MAKE) -C tests clean
239 239
	for d in $(ALL_SUBDIRS) libhw32 libhw64 libuser; do \
240
	$(MAKE) -C $$d $@ || exit 1 ; \
240
	if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \
241 241
        done
242 242

  
243 243
distclean: clean
244
	rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi
244
	rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi
245 245
	rm -f config-all-devices.mak config-all-devices.h*
246
	rm -f roms/seabios/config.mak roms/vgabios/config.mak
246 247
	rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
247 248
	for d in $(TARGET_DIRS) libhw32 libhw64 libuser; do \
248 249
	rm -rf $$d || exit 1 ; \

Also available in: Unified diff