From: aliguori Date: Thu, 22 Jan 2009 17:15:21 +0000 (+0000) Subject: install man-pages as non-executables (Andre Przywara) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6473e68fa806b4eb65ad9e4f9cdf58240ff16e57;p=qemu.git install man-pages as non-executables (Andre Przywara) make install-doc omits an explicit permission mask for the man-pages. This defaults to have the executable bits set. Adding "-m 644" (for rw-r--r--) fixes that. Signed-off-by: Andre Przywara Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6400 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/Makefile b/Makefile index ff6a00906a..a09d6e0036 100644 --- a/Makefile +++ b/Makefile @@ -224,9 +224,9 @@ install-doc: $(DOCS) $(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)" ifndef CONFIG_WIN32 mkdir -p "$(DESTDIR)$(mandir)/man1" - $(INSTALL) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" + $(INSTALL) -m 644 qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" mkdir -p "$(DESTDIR)$(mandir)/man8" - $(INSTALL) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8" + $(INSTALL) -m 644 qemu-nbd.8 "$(DESTDIR)$(mandir)/man8" endif install: all $(if $(BUILD_DOCS),install-doc)