From 4799e0d20a5f8ce4c9c3113465dd6a3ba501c73d Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 17 Apr 2012 21:51:21 +0200 Subject: [PATCH] Call mkdir with -m 755. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 786615a..3429503 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,7 @@ endif install-manpages: build-manpages $(ECHO) installing manual pages - $(QUIET)mkdir -p ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5 + $(QUIET)mkdir -m 755 -p ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5 ifneq "$(wildcard ${PROJECT}.1)" "" $(QUIET)install -m 644 ${PROJECT}.1 ${DESTDIR}${MANPREFIX}/man1 endif @@ -154,17 +154,17 @@ endif install-headers: ${PROJECT}.pc $(ECHO) installing header files - $(QUIET)mkdir -p ${DESTDIR}${INCLUDEDIR}/${PROJECT} + $(QUIET)mkdir -m 755 -p ${DESTDIR}${INCLUDEDIR}/${PROJECT} $(QUIET)install -m 644 ${HEADERINST} ${DESTDIR}${INCLUDEDIR}/${PROJECT} $(ECHO) installing pkgconfig file - $(QUIET)mkdir -p ${DESTDIR}${LIBDIR}/pkgconfig + $(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}/pkgconfig $(QUIET)install -m 644 ${PROJECT}.pc ${DESTDIR}${LIBDIR}/pkgconfig install: all install-headers install-manpages $(ECHO) installing executable file - $(QUIET)mkdir -p ${DESTDIR}${PREFIX}/bin + $(QUIET)mkdir -m 755 -p ${DESTDIR}${PREFIX}/bin $(QUIET)install -m 755 ${PROJECT} ${DESTDIR}${PREFIX}/bin - $(QUIET)mkdir -p ${DESTDIR}${DESKTOPPREFIX} + $(QUIET)mkdir -m 755 -p ${DESTDIR}${DESKTOPPREFIX} $(ECHO) installing desktop file $(QUIET)install -m 644 ${PROJECT}.desktop ${DESTDIR}${DESKTOPPREFIX} $(MAKE) -C po install