File: rules

package info (click to toggle)
alice 0.19-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 968 kB
  • sloc: javascript: 9,698; perl: 4,116; makefile: 14; sql: 8
file content (22 lines) | stat: -rwxr-xr-x 560 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
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

CONFIG=$(CURDIR)/t/alice/test_config

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	[ ! -f $(CONFIG).save ] || mv -v $(CONFIG).save $(CONFIG)

override_dh_auto_configure:
	[ ! -f $(CONFIG) ] || cp -v $(CONFIG) $(CONFIG).save
	dh_auto_configure

override_dh_strip_nondeterminism:
	# dh_strip_nondeterminism: warning: Ignoring unwritable file: shadow-top.png
	chmod 644 $(TMP)/usr/share/perl5/auto/share/dist/App-Alice/static/image/*.png
	dh_strip_nondeterminism