blob: 4890e8e3ff5c48e0bbde0664d8bba903aec8a4a1 [file] [log] [blame]
tiernoed3e4d42019-10-21 15:31:27 +00001##
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
16all: clean package
17
18clean:
tierno667d1582019-12-20 12:16:46 +000019 rm -rf dist deb_dist osm_rosdn_arista_cloudvision-*.tar.gz osm_rosdn_arista_cloudvision.egg-info .eggs
tiernoed3e4d42019-10-21 15:31:27 +000020
21package:
22 python3 setup.py --command-packages=stdeb.command sdist_dsc
tierno667d1582019-12-20 12:16:46 +000023 cp debian/python3-osm-rosdn-arista-cloudvision.postinst deb_dist/osm-rosdn-arista-cloudvision*/debian/
24 cd deb_dist/osm-rosdn-arista-cloudvision*/ && dpkg-buildpackage -rfakeroot -uc -us
tiernoed3e4d42019-10-21 15:31:27 +000025