Skip to contentSkip to conversation

don't install man files with x permission

PATCH New Cyril Hrubis 1 participant 1 message Apr 26, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 don't install man files with x permission

Hi!
While packaging ltp-full-20100228 I've found out that man files are installed with executable bits and that's caused by INSTALL_MODE := 00775 that is pulled from generic_leaf_target.mk that pulls in env_post.mk. Fixing explicitly INSTALL_MODE to 00644 in man.mk fixes this for me. Patch attached.

Signature · 2 lines
Cyril Hrubis
[email protected]
include/mk/man.mk +2 -0
Index: ltp-full-20100228/include/mk/man.mk
===================================================================
@@ -28,6 +28,8 @@ include $(top_srcdir)/include/mk/env_pre
 
 INSTALL_DIR	:= $(mandir)/man$(MANPREFIX)
 
+INSTALL_MODE    := 00644
+
 INSTALL_TARGETS	?= *.$(MANPREFIX)
 
 MAKE_TARGETS	:=

------------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list