File: rules

package info (click to toggle)
ccsm 2%3A0.8.18-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,872 kB
  • sloc: python: 5,690; makefile: 27
file content (28 lines) | stat: -rwxr-xr-x 649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_PYTHON_INSTALL_LAYOUT = deb

%:
	dh $@

override_dh_auto_clean:
	python3 setup.py clean
	rm -f ccsm.desktop ccm/Constants.py ccsm \
	ccsm.appdata.xml
	dh_auto_clean
	rm -f installed_files

override_dh_auto_build:
	python3 setup.py build --with-gtk=3.0 --prefix=/usr

override_dh_auto_install:
	python3 setup.py install \
	--root=debian/compizconfig-settings-manager \
	--prefix=/usr $(py_setup_install_args)

override_dh_install:
# remove unneeded .pyc and eeg-info files
	find $(CURDIR)/debian/compizconfig-settings-manager \
	-type f -name '*.pyc' -o -name '*.egg-info' | xargs rm -fr
	dh_install