summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-08-20 17:03:32 -0400
committerAndrew Cady <d@jerkface.net>2020-08-20 17:03:32 -0400
commit8569e6c00da8142c4f7f4b9e489608c69fb87f7b (patch)
treed0bc07ed66db40cc87752f432ff434d7ff09483a
parentab4fa64b6353d9e30da9b8beeb5e52d4b2fbe5b6 (diff)
two new make targets: install-debs and debs
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 808d57c..e01ffb9 100644
--- a/Makefile
+++ b/Makefile
@@ -48,4 +48,11 @@ install: tuntox_nostatic
48 $(INSTALL_MKDIR) -d $(DESTDIR)$(bindir) 48 $(INSTALL_MKDIR) -d $(DESTDIR)$(bindir)
49 cp tuntox_nostatic $(DESTDIR)$(bindir)/tuntox 49 cp tuntox_nostatic $(DESTDIR)$(bindir)/tuntox
50 50
51debs = ../tuntox_0.0.9-1_amd64.deb ../tuntox-dbgsym_0.0.9-1_amd64.deb
52.PHONY: install-debs debs
53install-debs: $(debs)
54 $(shell [ "$$(id -u)" = 0 ] || echo sudo) dpkg -i $(debs)
55$(debs) debs:
56 fakeroot ./debian/rules binary
57
51.PHONY: all clean tuntox 58.PHONY: all clean tuntox