File: rules

package info (click to toggle)
py3status 3.63-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,456 kB
  • sloc: python: 20,758; makefile: 9; sh: 5
file content (15 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

export PYBUILD_NAME=py3status

%:
	dh $@ --with python3 --buildsystem=pybuild

execute_after_dh_fixperms:
	chmod 644 $(CURDIR)/debian/$(PYBUILD_NAME)/usr/lib/python3/dist-packages/$(PYBUILD_NAME)/__init__.py

execute_before_dh_auto_build:
	mv $(CURDIR)/py3status/modules/README.md $(CURDIR)/README-modules.md

execute_after_dh_auto_clean:
	rm -f $(CURDIR)/README-modules.md