File: rules

package info (click to toggle)
sugar-calculate-activity 46-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,116 kB
  • sloc: python: 3,180; makefile: 8; sh: 4
file content (14 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

pkg = sugar-calculate-activity

# Fix favor ISO 639-1 when differing from ISO 639-2
binary-post-install/$(pkg)::
	mv debian/$(cdbs_curpkg)/usr/share/locale/aym \
		debian/$(cdbs_curpkg)/usr/share/locale/ay

binary-fixup/$(pkg)::
	find $(cdbs_curdestdir) -type f -name '*.svg' -exec chmod -R -x '{}' \;