Author: lmuelle
Date: 2007-05-26 13:24:56 +0000 (Sat, 26 May 2007)
New Revision: 23154

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23154

Log:
Add INSTALLPERMS_DATA set to 0644 to install the header files with this
permission set instead of 0755.

Modified:
   branches/SAMBA_3_0/source/Makefile.in
   branches/SAMBA_3_0_26/source/Makefile.in


Changeset:
Modified: branches/SAMBA_3_0/source/Makefile.in
===================================================================
--- branches/SAMBA_3_0/source/Makefile.in       2007-05-26 08:47:27 UTC (rev 
23153)
+++ branches/SAMBA_3_0/source/Makefile.in       2007-05-26 13:24:56 UTC (rev 
23154)
@@ -91,8 +91,9 @@
 MANDIR = @mandir@
 DATADIR = @datadir@
 
-# The permissions to give the executables
+# The permissions to give the executables and other data
 INSTALLPERMS = 0755
+INSTALLPERMS_DATA = 0644
 
 # set these to where to find various files
 # These can be overridden by command line switches (see smbd(8))
@@ -1775,14 +1776,14 @@
        -$(INSTALLLIBCMD_SH) bin/[EMAIL PROTECTED]@ $(DESTDIR)$(LIBDIR)
        -$(INSTALLLIBCMD_A) bin/libsmbclient.a $(DESTDIR)$(LIBDIR)
        @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) 
${prefix}/include
-       -$(INSTALLCMD) $(srcdir)/include/libsmbclient.h 
$(DESTDIR)${prefix}/include
+       -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/include/libsmbclient.h 
$(DESTDIR)${prefix}/include
 
 installlibmsrpc: installdirs libmsrpc
        @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) 
$(LIBDIR)
        -$(INSTALLLIBCMD_SH) bin/[EMAIL PROTECTED]@ $(DESTDIR)$(LIBDIR)
        -$(INSTALLLIBCMD_A) bin/libmsrpc.a $(DESTDIR)$(LIBDIR)
        @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) 
${prefix}/include
-       -$(INSTALLCMD) $(srcdir)/include/libmsrpc.h $(DESTDIR)${prefix}/include
+       -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/include/libmsrpc.h 
$(DESTDIR)${prefix}/include
 
 installlibsmbsharemodes: installdirs libsmbsharemodes
        @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) 
$(LIBDIR)

Modified: branches/SAMBA_3_0_26/source/Makefile.in
===================================================================
--- branches/SAMBA_3_0_26/source/Makefile.in    2007-05-26 08:47:27 UTC (rev 
23153)
+++ branches/SAMBA_3_0_26/source/Makefile.in    2007-05-26 13:24:56 UTC (rev 
23154)
@@ -84,8 +84,9 @@
 MANDIR = @mandir@
 DATADIR = @datadir@
 
-# The permissions to give the executables
+# The permissions to give the executables and other data
 INSTALLPERMS = 0755
+INSTALLPERMS_DATA = 0644
 
 # set these to where to find various files
 # These can be overridden by command line switches (see smbd(8))
@@ -1653,14 +1654,14 @@
        -$(INSTALLLIBCMD_SH) bin/[EMAIL PROTECTED]@ $(DESTDIR)$(LIBDIR)
        -$(INSTALLLIBCMD_A) bin/libsmbclient.a $(DESTDIR)$(LIBDIR)
        @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) 
${prefix}/include
-       -$(INSTALLCMD) $(srcdir)/include/libsmbclient.h 
$(DESTDIR)${prefix}/include
+       -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/include/libsmbclient.h 
$(DESTDIR)${prefix}/include
 
 installlibmsrpc: installdirs libmsrpc
        @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) 
$(LIBDIR)
        -$(INSTALLLIBCMD_SH) bin/[EMAIL PROTECTED]@ $(DESTDIR)$(LIBDIR)
        -$(INSTALLLIBCMD_A) bin/libmsrpc.a $(DESTDIR)$(LIBDIR)
        @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) 
${prefix}/include
-       -$(INSTALLCMD) $(srcdir)/include/libmsrpc.h $(DESTDIR)${prefix}/include
+       -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/include/libmsrpc.h 
$(DESTDIR)${prefix}/include
 
 installlibsmbsharemodes: installdirs libsmbsharemodes
        @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS) $(DESTDIR) 
$(LIBDIR)

Reply via email to