projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64182a3
)
Sven Kohler: fix DESTDIR stuff
author
Bart De Schuymer
<bdschuym@pandora.be>
Tue, 10 Feb 2004 18:08:00 +0000
(18:08 +0000)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Tue, 10 Feb 2004 18:08:00 +0000
(18:08 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
dc86a8f
..
cc91da5
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
PROGNAME:=ebtables
PROGVERSION:=2.0.7
PROGDATE:=January\ 2004
-LIBDIR?=/usr/lib/
+LIBDIR?=
$(DESTDIR)
/usr/lib/
MANDIR?=$(DESTDIR)/usr/local/man
CFLAGS:=-Wall -Wunused
CC:=gcc
@@
-68,10
+68,12
@@
$(ETHERTYPESFILE): ethertypes
.PHONY: exec
exec: ebtables
+ mkdir -p $(BINPATH)
install -m 0755 -o root -g root $< $(BINFILE)
.PHONY: install
install: $(MANDIR)/man8/ebtables.8 $(ETHERTYPESFILE) exec
+ mkdir -p $(LIBDIR)
install -m 0755 extensions/*.so $(LIBDIR)
install -m 0755 *.so $(LIBDIR)