Commit 6473e68fa806b4eb65ad9e4f9cdf58240ff16e57

Authored by aliguori
1 parent a4bb1db8

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 <andre.przywara@amd.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6400 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
Makefile
... ... @@ -224,9 +224,9 @@ install-doc: $(DOCS)
224 224 $(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
225 225 ifndef CONFIG_WIN32
226 226 mkdir -p "$(DESTDIR)$(mandir)/man1"
227   - $(INSTALL) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
  227 + $(INSTALL) -m 644 qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
228 228 mkdir -p "$(DESTDIR)$(mandir)/man8"
229   - $(INSTALL) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
  229 + $(INSTALL) -m 644 qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
230 230 endif
231 231  
232 232 install: all $(if $(BUILD_DOCS),install-doc)
... ...