Feature 7184 New Generation RO
Generates the package python3-osm-ng-ro for a new RO server
One or other server is controlled by env OSMRO_NG
Change-Id: I1b563006eeb008d05b37d5116f9741dc4f12a9ba
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/NG-RO/Makefile b/NG-RO/Makefile
new file mode 100644
index 0000000..ee09e5c
--- /dev/null
+++ b/NG-RO/Makefile
@@ -0,0 +1,24 @@
+# Copyright 2020 Telefonica S.A.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+all: clean package
+
+clean:
+ rm -rf dist deb_dist osm_ng_ro-*.tar.gz osm_ng_ro.egg-info .eggs .temp-tox
+
+package:
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ cp debian/python3-osm-ng-ro.postinst deb_dist/osm-ng-ro*/debian
+ cd deb_dist/osm-ng-ro*/ && dpkg-buildpackage -rfakeroot -uc -us