1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-29 10:48:28 +02:00

More rm -rf to rm -f changes.

- bom/Makefile (atusd.ord, atusd.par): rm -r in case of failure is enough
  (reported by Wolfgang Spraul)
This commit is contained in:
Werner Almesberger 2010-10-23 08:39:51 -03:00
parent 2dec6466c4
commit 850e9fca29

View File

@ -21,12 +21,12 @@ again:
atusd.ord: atusd.par $(INV) $(EQU) atusd.ord: atusd.par $(INV) $(EQU)
$(BOOM) part2order $(KITS) $(INV) $(EQU) atusd.par >$@ || \ $(BOOM) part2order $(KITS) $(INV) $(EQU) atusd.par >$@ || \
{ rm -rf $@; exit 1; } { rm -f $@; exit 1; }
atusd.par: $(EQU) $(INV) $(CHR) ../atusd/atusd.lst atrf.sub atusd.par: $(EQU) $(INV) $(CHR) ../atusd/atusd.lst atrf.sub
$(BOOM) bom2part $(EQU) $(INV) $(CHR) \ $(BOOM) bom2part $(EQU) $(INV) $(CHR) \
../atusd/atusd.lst atrf.sub \ ../atusd/atusd.lst atrf.sub \
>$@ || { rm -rf $@; exit 1; } >$@ || { rm -f $@; exit 1; }
dk/digi-key.inv: dk/digi-key.inv:
$(MAKE) -C dk digi-key.inv $(MAKE) -C dk digi-key.inv