aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-23 14:42:19 +0000
committerRoy Marples <roy@marples.name>2007-11-23 14:42:19 +0000
commit5f120db647e59eada6b434243d796bd31792bdad (patch)
treeb03384c0bdcbdcc39c8fd9261226ffd2e18df5bd /src/Makefile
parent33852baf525800e9745ccc666db24a7a01a1d892 (diff)
Fix install permissions a little
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/Makefile b/src/Makefile
index 8e0e233f..3f2b6ac6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -130,28 +130,28 @@ $(ALL_LINKS): rc
links: $(ALL_LINKS)
install:: $(TARGET)
- install -m 0755 -d $(DESTDIR)/$(LIB)
- install -m 0755 $(LIB_TARGETS) $(DESTDIR)/$(LIB)
- install -m 0755 -d $(DESTDIR)/usr/$(LIB)
- install -m 0644 $(ULIB_TARGETS) $(DESTDIR)/usr/$(LIB)
+ install -d $(DESTDIR)/$(LIB)
+ install -m 0444 $(LIB_TARGETS) $(DESTDIR)/$(LIB)
+ install -d $(DESTDIR)/usr/$(LIB)
+ install -m 0444 $(ULIB_TARGETS) $(DESTDIR)/usr/$(LIB)
ln -sf /$(LIB)/$(LIBEINFOSO) $(DESTDIR)/usr/$(LIB)/libeinfo.so
ln -sf /$(LIB)/$(LIBRCSO) $(DESTDIR)/usr/$(LIB)/librc.so
- install -m 0755 -d $(DESTDIR)/usr/include
- install -m 0644 einfo.h rc.h $(DESTDIR)/usr/include
- install -m 0755 -d $(DESTDIR)/bin
- install -m 0755 -d $(DESTDIR)/sbin
- install -m 0755 $(SBIN_TARGETS) $(DESTDIR)/sbin
+ install -d $(DESTDIR)/usr/include
+ install -m 0444 einfo.h rc.h $(DESTDIR)/usr/include
+ install -d $(DESTDIR)/bin
+ install -d $(DESTDIR)/sbin
+ install -m 0555 $(SBIN_TARGETS) $(DESTDIR)/sbin
ln -sf rc-update $(DESTDIR)/sbin/update-rc
- install -m 0755 -d $(DESTDIR)/$(RC_LIB)/conf.d
- install -m 0644 $(SYS_WHITELIST) $(DESTDIR)/$(RC_LIB)/conf.d
- install -m 0755 -d $(DESTDIR)/$(RC_LIB)/bin
- install -m 0755 -d $(DESTDIR)/$(RC_LIB)/sbin
+ install -d $(DESTDIR)/$(RC_LIB)/conf.d
+ install -m 0444 $(SYS_WHITELIST) $(DESTDIR)/$(RC_LIB)/conf.d
+ install -d $(DESTDIR)/$(RC_LIB)/bin
+ install -d $(DESTDIR)/$(RC_LIB)/sbin
for x in $(BINLINKS); do ln -sf ../sbin/rc $(DESTDIR)/bin/$$x; done
for x in $(SBINLINKS); do ln -sf rc $(DESTDIR)/sbin/$$x; done
for x in $(RC_BINLINKS); do ln -sf ../../../sbin/rc $(DESTDIR)/$(RC_LIB)/bin/$$x; done
for x in $(RC_SBINLINKS); do ln -sf ../../../sbin/rc $(DESTDIR)/$(RC_LIB)/sbin/$$x; done
if test "$(PAM)" = "pam" ; then \
- install -m 0755 -d $(DESTDIR)/etc/pam.d ; \
+ install -d $(DESTDIR)/etc/pam.d ; \
install -m 0644 start-stop-daemon.pam $(DESTDIR)/etc/pam.d/start-stop-daemon ; \
fi