| Benjamin Diaz | be20773 | 2019-11-29 08:26:30 -0300 | [diff] [blame] | 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: |
| Benjamin Diaz | 949e053 | 2019-12-09 20:12:42 -0300 | [diff] [blame] | 19 | rm -rf dist deb_dist osm_rosdn_onos_vpls-*.tar.gz osm_rosdn_onos_vpls.egg-info .eggs |
| Benjamin Diaz | be20773 | 2019-11-29 08:26:30 -0300 | [diff] [blame] | 20 | |
| 21 | package: |
| 22 | python3 setup.py --command-packages=stdeb.command sdist_dsc |
| Benjamin Diaz | 949e053 | 2019-12-09 20:12:42 -0300 | [diff] [blame] | 23 | cd deb_dist/osm-rosdn-onos-vpls*/ && dpkg-buildpackage -rfakeroot -uc -us |
| Benjamin Diaz | be20773 | 2019-11-29 08:26:30 -0300 | [diff] [blame] | 24 | |