From dbf48987ce62b43059612814ab8530a27707d245 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Thu, 26 Nov 2009 14:44:47 +0100 Subject: [PATCH] asm: Don't ignore install failures Signed-off-by: Michael Buesch --- assembler/Makefile | 10 +++++----- disassembler/Makefile | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assembler/Makefile b/assembler/Makefile index 9b6b549..8c41be7 100644 --- a/assembler/Makefile +++ b/assembler/Makefile @@ -40,11 +40,11 @@ $(BIN): $(OBJECTS) $(CC) $(CFLAGS) -o $(BIN) $(OBJECTS) $(LDFLAGS) install: all - -install -o 0 -g 0 -m 755 $(BIN) $(PREFIX)/bin/ - -cp b43-asm b43-asm.inst - -sed -i -e 's/installed=0/installed=1/' b43-asm.inst - -install -o 0 -g 0 -m 755 b43-asm.inst $(PREFIX)/bin/b43-asm - -rm -f b43-asm.inst + install -o 0 -g 0 -m 755 $(BIN) $(PREFIX)/bin/ + cp b43-asm b43-asm.inst + sed -i -e 's/installed=0/installed=1/' b43-asm.inst + install -o 0 -g 0 -m 755 b43-asm.inst $(PREFIX)/bin/b43-asm + rm -f b43-asm.inst clean: -rm -f *~ *.o *.orig *.rej scanner.c scanner.h parser.c parser.h diff --git a/disassembler/Makefile b/disassembler/Makefile index 8651626..2e4b4a2 100644 --- a/disassembler/Makefile +++ b/disassembler/Makefile @@ -21,8 +21,8 @@ $(BIN): $(OBJECTS) $(CC) $(CFLAGS) -o $(BIN) $(OBJECTS) $(LDFLAGS) install: all - -install -o 0 -g 0 -m 755 $(BIN) $(PREFIX)/bin/ - -install -o 0 -g 0 -m 755 b43-ivaldump $(PREFIX)/bin/ + install -o 0 -g 0 -m 755 $(BIN) $(PREFIX)/bin/ + install -o 0 -g 0 -m 755 b43-ivaldump $(PREFIX)/bin/ clean: -rm -f *~ *.o *.orig *.rej -- 2.31.1