summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2007-08-20 08:42:30 +0000
committerjkar8572 <jkar8572>2007-08-20 08:42:30 +0000
commit6c1c1f4546b2b12c1ad4549ebc55f39ecabf8646 (patch)
tree46e222577cd04f742a18b33b9edd48775ca46d12
parent5d70fc48ec3e165f50b1c479f2f4a4fc924aaa22 (diff)
Introduced variable STRIP to the makefile set by default to -s. When
installing binaries this variable is always used as an argument to INSTALL.
-rw-r--r--Changelog3
-rw-r--r--Makefile.in9
2 files changed, 8 insertions, 4 deletions
diff --git a/Changelog b/Changelog
index 492386b..4784ae2 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,6 @@
+Changes in quota-tools from 3.15 to 3.16
+* all binaries are now stripped during installation (Jan Kara)
+
Changes in quota-tools from 3.14 to 3.15
* added a wrapper script around setquota which also updates LDAP (Stefan Adams)
* implemented quota netlink daemon to listen to kernel netlink messages and send them
diff --git a/Makefile.in b/Makefile.in
index 8731b73..fa5a2c9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -16,6 +16,7 @@ LDAPLIBS = @LDAPLIBS@
CFLAGS += @HOSTS_ACCESS@
INSTALL = @INSTALL@
+STRIP = -s
LN = ln -sf
ROOTDIR =
SUPER_OWNER = root
@@ -82,10 +83,10 @@ install: all @INSTMO@
-mkdir -p $(ROOTDIR)$(sbindir)
-mkdir -p $(ROOTDIR)$(bindir)
-mkdir -p $(ROOTDIR)$(root_sbindir)
- -$(INSTALL) -m $(DEF_SBIN_MODE) \
+ -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) \
quotacheck quotaon $(ROOTDIR)$(root_sbindir)
-$(LN) quotaon $(ROOTDIR)$(root_sbindir)/quotaoff
- -$(INSTALL) -m $(DEF_SBIN_MODE) \
+ -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) \
edquota repquota warnquota quotastats setquota quot xqmstats \
convertquota $(ROOTDIR)$(sbindir)
-mkdir -p $(ROOTDIR)$(sysconfdir)
@@ -98,8 +99,8 @@ install: all @INSTMO@
-mkdir -p $(ROOTDIR)$(mandir)/man8
-$(INSTALL) -m 755 -d $(ROOTDIR)$(includedir)/rpcsvc
-$(INSTALL) -m 644 rquota.h rquota.x $(ROOTDIR)$(includedir)/rpcsvc
- -$(INSTALL) -s -m $(DEF_SBIN_MODE) quota $(ROOTDIR)$(bindir)
- -$(INSTALL) -s -m $(DEF_SBIN_MODE) rpc.rquotad $(ROOTDIR)$(sbindir)
+ -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) quota $(ROOTDIR)$(bindir)
+ -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) rpc.rquotad $(ROOTDIR)$(sbindir)
-$(INSTALL) -m $(DEF_MAN_MODE) *.1 $(ROOTDIR)$(mandir)/man1
-$(INSTALL) -m $(DEF_MAN_MODE) *.2 $(ROOTDIR)$(mandir)/man2
-$(INSTALL) -m $(DEF_MAN_MODE) *.3 $(ROOTDIR)$(mandir)/man3