Merge branch 'feature-debbuild' of https://github.com/axet/miniupnp

This commit is contained in:
Thomas Bernard 2012-01-19 12:45:06 +01:00
commit d24eaf9158
2 changed files with 15 additions and 0 deletions

View File

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

View File

@ -204,6 +204,20 @@ jnaerator-0.9.3.jar:
jar: $(SHAREDLIBRARY) $(JNAERATOR)
$(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: /usr/share/pyshared/stdeb all
(python setup.py --command-packages=stdeb.command bdist_deb)
# install .deb packages
ideb:
(sudo dpkg -i deb_dist/*.deb)
/usr/share/pyshared/stdeb: /usr/share/doc/python-all-dev
(sudo apt-get install python-stdeb)
/usr/share/doc/python-all-dev:
(sudo apt-get install python-all-dev)
minihttptestserver: minihttptestserver.o
# DO NOT DELETE THIS LINE -- make depend depends on it.