Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 29 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29 Rev 38
Line 40... Line 40...
40
	dh_testroot
40
	dh_testroot
41
	dh_prep
41
	dh_prep
42
42
43
	python setup.py install --no-compile --root=$(DESTDIR) \
43
	python setup.py install --no-compile --root=$(DESTDIR) \
44
		--install-layout=deb \
44
		--install-layout=deb \
45
		--install-scripts=/usr/games \
45
		--install-scripts=/usr/share/games/pyscrabble/python \
-
 
46
		--install-lib=/usr/share/games/pyscrabble/python \
46
		--confdir=/etc/pyscrabble \
47
		--confdir=/etc/pyscrabble \
47
		--logdir=/var/log/pyscrabble \
48
		--logdir=/var/log/pyscrabble \
48
		--dbdir=/var/lib/pyscrabble
49
		--dbdir=/var/lib/pyscrabble
49
	install -m755 -d $(DESTDIR)/usr/sbin
50
	install -m755 -d $(DESTDIR)/usr/sbin
50
	mv $(DESTDIR)/usr/games/pyscrabble-main.py $(DESTDIR)/usr/games/pyscrabble
-
 
51
	mv $(DESTDIR)/usr/games/server_console.py $(DESTDIR)/usr/sbin/pyscrabble-server
-
 
52
#	rm $(DESTDIR)/usr/bin/db_upgrade.py
-
 
53
	install -m755 -d $(DESTDIR)/usr/share/pixmaps
51
	install -m755 -d $(DESTDIR)/usr/share/pixmaps
54
	install -m644 pyscrabble-*.xpm $(DESTDIR)/usr/share/pixmaps
52
	install -m644 pyscrabble-*.xpm $(DESTDIR)/usr/share/pixmaps
55
	install -m755 -d $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
53
	install -m755 -d $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
56
	gzip < debian/pyscrabble.svg > $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/pyscrabble.svgz
54
	gzip < debian/pyscrabble.svg > $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/pyscrabble.svgz
57
	for size in $(ICON_SIZES); do \
55
	for size in $(ICON_SIZES); do \
Line 72... Line 70...
72
binary-indep: build install
70
binary-indep: build install
73
	dh_testdir
71
	dh_testdir
74
	dh_testroot
72
	dh_testroot
75
	dh_install --sourcedir=debian/tmp
73
	dh_install --sourcedir=debian/tmp
76
	dh_link
74
	dh_link
77
	dh_python2
75
	dh_python2 /usr/share/games/pyscrabble/python
78
	dh_installchangelogs CHANGELOG.txt
76
	dh_installchangelogs CHANGELOG.txt
79
	dh_installdocs
77
	dh_installdocs
80
	dh_installexamples
78
	dh_installexamples
81
	dh_installman
79
	dh_installman
82
	dh_installinit -r
80
	dh_installinit -r