Do not violate stagedir, strip binary

This commit is contained in:
Antoine Brodin 2014-09-23 22:20:12 +00:00
parent 0a56314ec4
commit 1678a47d9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369129

View File

@ -1,14 +1,17 @@
--- Makefile.in.orig 2014-06-23 23:04:56.824141193 +0800
+++ Makefile.in 2014-06-23 23:05:12.570149447 +0800
@@ -31,9 +31,9 @@ distclean: clean
--- Makefile.in.orig 2005-08-26 04:45:46 UTC
+++ Makefile.in
@@ -30,10 +30,10 @@
rm -f config.log config.cache config.status Makefile
install: simpleproxy
$(top_srcdir)/mkinstalldirs $(bindir)
- $(top_srcdir)/mkinstalldirs $(bindir)
- $(INSTALL) simpleproxy $(bindir)
+ $(INSTALL) simpleproxy $(DESTDIR)$(bindir)
$(top_srcdir)/mkinstalldirs $(mandir)/man1
- $(top_srcdir)/mkinstalldirs $(mandir)/man1
- $(INSTALL) simpleproxy.man $(mandir)/man1/simpleproxy.1
+ $(INSTALL) simpleproxy.man $(DESTDIR)$(mandir)/man1/simpleproxy.1
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+ $(BSD_INSTALL_PROGRAM) simpleproxy $(DESTDIR)$(bindir)
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
+ $(BSD_INSTALL_MAN) simpleproxy.man $(DESTDIR)$(mandir)/man1/simpleproxy.1
simpleproxy: simpleproxy.o cfg.o Makefile
$(CC) $(CFLAGS) -o simpleproxy simpleproxy.o cfg.o $(LIBS)