Files
chipsec-chipsec/debian/rules
T
abazhaniuk c377a72e28 Deb package (#135)
* merge

* Add Debian packaging

* cleanup

* Removed incorrect info into Copyright.

* One more: removed incorrect info in Copyright.
2017-01-06 12:57:13 -08:00

31 lines
771 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
PYTHON2_VERSIONS = $(shell pyversions -r)
%:
dh $@ --with python2
override_dh_auto_clean:
dh_auto_clean
rm -rf build
override_dh_auto_build:
#dh_auto_build
#set -ex; for python in $(PYTHON2_VERSIONS); do \
# $$python setup.py build --skip-driver; \
#done
python setup.py build --skip-driver;
override_dh_auto_install:
#dh_auto_install
#set -ex; for python in $(PYTHON3_VERSIONS); do \
# $$python setup.py install --skip-driver --root=$(CURDIR)/debian/$(DEB_SOURCE) --install-layout=deb; \
#done
python setup.py install --skip-driver --root=$(CURDIR)/debian/$(DEB_SOURCE) --install-layout=deb;