Add DESTDIR variable

Signed-off-by: TheRealKeto <therealketo@gmail.com>
This commit is contained in:
TheRealKeto 2021-08-08 00:19:47 -04:00
commit c78a67d439
No known key found for this signature in database
GPG key ID: F256D023018D9970

View file

@ -17,8 +17,8 @@ network/manuf.go:
@python3 ./network/make_manuf.py @python3 ./network/make_manuf.py
install: install:
@mkdir -p $(PREFIX)/share/bettercap/caplets @mkdir -p $(DESTDIR)$(PREFIX)/share/bettercap/caplets
@cp bettercap $(PREFIX)/bin/ @cp bettercap $(DESTDIR)$(PREFIX)/bin/
docker: docker:
@docker build -t bettercap:latest . @docker build -t bettercap:latest .