Adds postinst script to deb package to install dependencies
[osm/MON.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..99de6f4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+all: clean package
+
+clean:
+       rm -rf dist deb_dist osm_mon-*.tar.gz osm_mon.egg-info .eggs
+
+package:
+       python3 setup.py --command-packages=stdeb.command sdist_dsc
+       cp debian/python3-osm-mon.postinst deb_dist/osm-mon*/debian
+       cd deb_dist/osm-mon*/  && dpkg-buildpackage -rfakeroot -uc -us
\ No newline at end of file