Skip to content

Commit d898196

Browse files
committed
Adapt for Debian install
Signed-off-by: Christoph Paasch <[email protected]>
1 parent 64fc462 commit d898196

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ endif
77
PREFIX?=/usr
88
LIBDIR?=$(PREFIX)/lib
99
SBINDIR?=/sbin
10+
BINDIR?=/bin
1011
CONFDIR?=/etc/iproute2
1112
DATADIR?=$(PREFIX)/share
1213
HDRDIR?=$(PREFIX)/include/iproute2
@@ -64,6 +65,7 @@ config.mk:
6465

6566
install: all
6667
install -m 0755 -d $(DESTDIR)$(SBINDIR)
68+
install -m 0755 -d $(DESTDIR)$(BINDIR)
6769
install -m 0755 -d $(DESTDIR)$(CONFDIR)
6870
install -m 0755 -d $(DESTDIR)$(ARPDDIR)
6971
install -m 0755 -d $(DESTDIR)$(HDRDIR)

ip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ rtmon: $(RTMONOBJ)
2929

3030
install: all
3131
install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
32+
install -m 0755 ip $(DESTDIR)$(BINDIR)
3233
install -m 0755 $(SCRIPTS) $(DESTDIR)$(SBINDIR)
3334

3435
clean:

misc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ lnstat: $(LNSTATOBJ)
3434

3535
install: all
3636
install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
37+
install -m 0755 ss $(DESTDIR)$(BINDIR)
3738
ln -sf lnstat $(DESTDIR)$(SBINDIR)/rtstat
3839
ln -sf lnstat $(DESTDIR)$(SBINDIR)/ctstat
3940

0 commit comments

Comments
 (0)