diff options
author | Andrew Cady <d@jerkface.net> | 2020-08-20 17:03:32 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-08-20 17:03:32 -0400 |
commit | 8569e6c00da8142c4f7f4b9e489608c69fb87f7b (patch) | |
tree | d0bc07ed66db40cc87752f432ff434d7ff09483a | |
parent | ab4fa64b6353d9e30da9b8beeb5e52d4b2fbe5b6 (diff) |
two new make targets: install-debs and debs
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 | ||
51 | debs = ../tuntox_0.0.9-1_amd64.deb ../tuntox-dbgsym_0.0.9-1_amd64.deb | ||
52 | .PHONY: install-debs debs | ||
53 | install-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 |