summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-13 16:49:56 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-13 16:49:56 +0000
commit19c45ff4e1c92216dfb721538f8801eb0ad4dfc6 (patch)
tree9124d7e86fb53480edf302821bcaec3a982134d4 /libdha
parent9b2c81e1bbf7586841ae3e7e4567922d78caa0d5 (diff)
downloadmpv-19c45ff4e1c92216dfb721538f8801eb0ad4dfc6.tar.bz2
mpv-19c45ff4e1c92216dfb721538f8801eb0ad4dfc6.tar.xz
Simplify mkdir calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18084 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r--libdha/Makefile2
-rw-r--r--libdha/kernelhelper/Makefile2
2 files changed, 2 insertions, 2 deletions
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