| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
PACKAGE = $(shell dh_listpackages) |
| 4 |
TMP = $(CURDIR)/debian/$(PACKAGE) |
| 5 |
|
| 6 |
CONFIG=$(CURDIR)/t/alice/test_config |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_clean: |
| 12 |
dh_auto_clean |
| 13 |
[ ! -f $(CONFIG).save ] || mv -v $(CONFIG).save $(CONFIG) |
| 14 |
|
| 15 |
override_dh_auto_configure: |
| 16 |
[ ! -f $(CONFIG) ] || cp -v $(CONFIG) $(CONFIG).save |
| 17 |
dh_auto_configure |
| 18 |
|
| 19 |
override_dh_strip_nondeterminism: |
| 20 |
# dh_strip_nondeterminism: warning: Ignoring unwritable file: shadow-top.png |
| 21 |
chmod 644 $(TMP)/usr/share/perl5/auto/share/dist/App-Alice/static/image/*.png |
| 22 |
dh_strip_nondeterminism |