diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-13 16:49:56 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-13 16:49:56 +0000 |
commit | 19c45ff4e1c92216dfb721538f8801eb0ad4dfc6 (patch) | |
tree | 9124d7e86fb53480edf302821bcaec3a982134d4 | |
parent | 9b2c81e1bbf7586841ae3e7e4567922d78caa0d5 (diff) |
Simplify mkdir calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18084 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | drivers/Makefile | 2 | ||||
-rw-r--r-- | libdha/Makefile | 2 | ||||
-rw-r--r-- | libdha/kernelhelper/Makefile | 2 |
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 |