File: rules

package info (click to toggle)
tictactoe-ng 0.3.2.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 240 kB
  • ctags: 163
  • sloc: python: 1,104; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 789 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DEB_PYTHON2_MODULE_PACKAGES := tictactoe-ng

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_PYTHON_INSTALL_ARGS_ALL+= \
	--install-lib=/usr/share/tictactoe-ng \
	--install-scripts=/usr/share/tictactoe-ng

install/tictactoe-ng::
	mv $(CURDIR)/debian/tictactoe-ng/usr/share/tictactoe-ng/tictactoe/tictactoe \
	$(CURDIR)/debian/tictactoe-ng/usr/share/tictactoe-ng/tictactoe-ng
	mv $(CURDIR)/debian/tictactoe-ng/usr/share/applications/tictactoe.desktop $(CURDIR)/debian/tictactoe-ng/usr/share/applications/tictactoe-ng.desktop 
	sed -i 's/Exec=tictactoe/Exec=tictactoe-ng/' $(CURDIR)/debian/tictactoe-ng/usr/share/applications/tictactoe-ng.desktop
	install -m 0644 $(CURDIR)/tictactoe.1 $(CURDIR)/build/tictactoe-ng.1