-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (18 loc) · 742 Bytes
/
Copy pathMakefile
File metadata and controls
19 lines (18 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
VERSION=$(shell python -c 'from inputdeviceindicator.info import VERSION; print(VERSION)' )
install_local: bdist_deb
sudo dpkg -i deb_dist/input-device-indicator*.deb
sdist_dsc:
python setup.py --command-packages=stdeb.command sdist_dsc
bdist_deb:
python setup.py --command-packages=stdeb.command bdist_deb
clean:
-rm input-device-indicator*.deb input-device-indicator*.tar.gz
-rm -r dist deb_dist tmp *.egg-info
publish: clean sdist_dsc
mkdir -p tmp
cd tmp ; \
ls ../deb_dist/input-device-indicator_${VERSION}-1.dsc ; \
dpkg-source -x ../deb_dist/input-device-indicator_${VERSION}-1.dsc ; \
cd input-device-indicator-${VERSION} ; \
debuild -S -sa ; \
dput ppa:brandizzi/ppa ../input-device-indicator_${VERSION}-1_source.changes