File: rules

package info (click to toggle)
taffybar 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 604 kB
  • sloc: haskell: 6,301; xml: 114; makefile: 7
file content (11 lines) | stat: -rwxr-xr-x 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

DEB_SETUP_GHC_CONFIGURE_ARGS := --datasubdir=taffybar --ghc-options='-optl -z -optl relro'
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk

binary-fixup/taffybar::
	install -m 755 -s -D dist-ghc/build/taffybar/taffybar debian/taffybar/usr/bin/taffybar || true
	cp -R debian/tmp-inst-ghc/usr/share/taffybar debian/taffybar/usr/share
	# Make the build reproducible
	find debian/taffybar/usr/share -type d -print0 | xargs -0r chmod 755