summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/Makefile2
-rw-r--r--libdha/Makefile2
-rw-r--r--libdha/kernelhelper/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 8d431d9781..9abc7f4edf 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -38,7 +38,7 @@ tdfx_vid_tst: tdfx_vid_tst.c
$(CC) -O $(INCLUDES) -o $@ $@.c
install: mga_vid.o
- if test ! -d $(MDIR) ; then mkdir -p $(MDIR) ; fi
+ -mkdir -p $(MDIR)
ifneq (,$(findstring 2.6, $(VERSION)))
install -m 644 mga_vid.ko $(MDIR)/mga_vid.ko
else
diff --git a/libdha/Makefile b/libdha/Makefile
index 3e6725e457..80a179b904 100644
--- a/libdha/Makefile
+++ b/libdha/Makefile
@@ -82,7 +82,7 @@ depend: pci_names.c
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
install:
- mkdir -p $(LIBDIR)
+ -mkdir -p $(LIBDIR)
install -m 755 $(INSTALLSTRIP) -p $(LIBNAME) $(LIBDIR)/$(LIBNAME)
rm -f $(LIBDIR)/libdha.so
ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME)
diff --git a/libdha/kernelhelper/Makefile b/libdha/kernelhelper/Makefile
index b03ebd2924..4afd530fb2 100644
--- a/libdha/kernelhelper/Makefile
+++ b/libdha/kernelhelper/Makefile
@@ -13,7 +13,7 @@ test: test.c
$(CC) -O $(INCLUDES) -o $@ $@.c
install: dhahelper.o
- if test ! -d $(MDIR) ; then mkdir -p $(MDIR) ; fi
+ -mkdir -p $(MDIR)
install -m 644 dhahelper.o $(MDIR)/dhahelper.o
depmod -a