summaryrefslogtreecommitdiffstats
path: root/source/Makefile.in
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2007-05-26 13:24:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:49 -0500
commit1db52993eda542757e80e1d7d2ce82a9c9abd93a (patch)
tree2e6cca4deefac83f9656ed20f30b3c46fddb8e80 /source/Makefile.in
parent0a7d8362be8379b77e6afb803ab88d726ae7877d (diff)
downloadsamba-1db52993eda542757e80e1d7d2ce82a9c9abd93a.tar.gz
samba-1db52993eda542757e80e1d7d2ce82a9c9abd93a.tar.xz
samba-1db52993eda542757e80e1d7d2ce82a9c9abd93a.zip
r23154: Add INSTALLPERMS_DATA set to 0644 to install the header files with this
permission set instead of 0755.
Diffstat (limited to 'source/Makefile.in')
-rw-r--r--source/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index eb68052b5b0..7bd950f7b8e 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -91,8 +91,9 @@ VARDIR = @localstatedir@
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 @@ installclientlib: installdirs libsmbclient
-$(INSTALLLIBCMD_SH) bin/libsmbclient.@SHLIBEXT@ $(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/libmsrpc.@SHLIBEXT@ $(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)