Skip to contentSkip to conversation

[6400] install man-pages as non-executables (Andre Przywara)

Qemu-devel Anthony Liguori 1 participant 1 message Jan 22, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

Revision: 6400

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6400
Author:   aliguori
Date:     2009-01-22 17:15:21 +0000 (Thu, 22 Jan 2009)

Log Message:
-----------
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.

Modified Paths:
--------------
trunk/Makefile

Modified: trunk/Makefile
===================================================================

Makefile +2 -2
@@ -224,9 +224,9 @@
 	$(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)