add deb build make targets

This commit is contained in:
Alexey Kuznetsov 2012-01-18 21:32:28 +04:00
parent 3917487cb4
commit 44f65308f3
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,4 @@
deb_dist/
build/
*.o
*.a

View File

@ -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.