From 44f65308f38b81ccbda287ed078aa5b783b543ca Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Wed, 18 Jan 2012 21:32:28 +0400 Subject: [PATCH] add deb build make targets --- miniupnpc/.gitignore | 1 + miniupnpc/Makefile | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/miniupnpc/.gitignore b/miniupnpc/.gitignore index f0340b3..fdf6d59 100644 --- a/miniupnpc/.gitignore +++ b/miniupnpc/.gitignore @@ -1,3 +1,4 @@ +deb_dist/ build/ *.o *.a diff --git a/miniupnpc/Makefile b/miniupnpc/Makefile index b7da023..f3863fa 100644 --- a/miniupnpc/Makefile +++ b/miniupnpc/Makefile @@ -195,6 +195,14 @@ miniupnpcstrings.h: miniupnpcstrings.h.in updateminiupnpcstrings.sh jar: $(SHAREDLIBRARY) $(JAVA) -jar $(JNAERATOR) -library miniupnpc miniupnpc.h declspec.h upnpcommands.h upnpreplyparse.h igd_desc_parse.h miniwget.h upnperrors.h $(SHAREDLIBRARY) -package fr.free.miniupnp -o . -jar java/miniupnpc_$(OS).jar -v +# make .deb packages +deb: + python setup.py --command-packages=stdeb.command bdist_deb + +# install .deb packages +ideb: + sudo dpkg -i deb_dist/*.deb + minihttptestserver: minihttptestserver.o # DO NOT DELETE THIS LINE -- make depend depends on it.