Skip to content

Commit 666ea41

Browse files
committed
Install to /usr/local by default
1 parent 6fa990a commit 666ea41

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ UNAME=$(shell uname)
88

99
include $(UNAME).mak
1010

11-
build: pcap.so
11+
BINDING=pcap.so
1212

13-
prefix=/usr
13+
build: $(BINDING)
1414

15-
SODIR = $(DESTDIR)$(prefix)/lib/lua/5.1/
15+
prefix=/usr/local
16+
17+
SODIR = $(DESTDIR)/$(prefix)/lib/lua/5.1/
1618

1719
.PHONY: install
1820
install: $(BINDING)

0 commit comments

Comments
 (0)