create base package 'osm_ro_plugin' for plugin
[osm/RO.git] / RO-VIM-fos / Makefile
1 ##
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 # http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11 # implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 ##
15
16 all: clean package
17
18 clean:
19 rm -rf dist deb_dist osm_rovim_fos-*.tar.gz osm_rovim_fos.egg-info .eggs
20
21 package:
22 python3 setup.py --command-packages=stdeb.command sdist_dsc
23 cp debian/python3-osm-rovim-fos.postinst deb_dist/osm-rovim-fos*/debian/
24 cd deb_dist/osm-rovim-fos*/ && dpkg-buildpackage -rfakeroot -uc -us