| magnussonl | 2b0e2d7 | 2020-02-04 10:52:46 +0100 | [diff] [blame] | 1 | # Copyright 2020 ArctosLabs Scandinava AB |
| 2 | # ************************************************************* |
| 3 | |
| 4 | # This file is part of OSM Placement module |
| 5 | # All Rights Reserved to ArctosLabs Scandinavia AB |
| 6 | |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 8 | # not use this file except in compliance with the License. You may obtain |
| 9 | # a copy of the License at |
| 10 | |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 15 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 16 | # License for the specific language governing permissions and limitations |
| 17 | # under the License. |
| 18 | ## |
| 19 | |
| 20 | all: clean package |
| 21 | |
| 22 | clean: |
| 23 | rm -rf dist deb_dist osm_pla-*.tar.gz osm_pla.egg-info .eggs |
| 24 | |
| 25 | package: |
| 26 | python3 setup.py --command-packages=stdeb.command sdist_dsc |
| 27 | cp debian/python3-osm-pla.postinst deb_dist/osm-pla*/debian |
| 28 | cd deb_dist/osm-pla*/ && dpkg-buildpackage -rfakeroot -uc -us |