summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2016-07-08 00:23:20 +0200
committerChristian Pointner <equinox@anytun.org>2016-07-08 00:23:20 +0200
commit7b5516b30a80ce32333b085a48c9bcb2b8ad27c3 (patch)
tree7c3ec5c5e7e4d9f113fd7d433a899f4e8b0a5593 /src
parentmoved anytun-lanucher to /lib (diff)
actually install anytun-launcher into lib dir
Diffstat (limited to 'src')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 506dffa..6f31e4a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -294,9 +294,10 @@ install-bin: $(EXECUTABLES)
$(INSTALL) -m 755 anytun-config $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 anytun-controld $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 anytun-showtables $(DESTDIR)$(BINDIR)
+ $(INSTALL) -d $(DESTDIR)$(LIBDIR)
@ sed -e 's#/usr/local/sbin#$(SBINDIR)#' -e 's#/usr/local/bin#$(BINDIR)#' \
-e 's#/usr/local/etc#$(ETCDIR)#' ../usr/lib/anytun-launcher > ../usr/lib/anytun-launcher.bak
- $(INSTALL) -m 755 ../usr/lib/anytun-launcher.bak $(DESTDIR)$(BINDIR)/anytun-launcher
+ $(INSTALL) -m 755 ../usr/lib/anytun-launcher.bak $(DESTDIR)$(LIBDIR)/anytun-launcher
rm -f ../usr/lib/anytun-launcher.bak
install-etc: