very preliminary support for building from tzdata
[pkg-perl/packages/libtime-olsontz-data-perl.git] / debian / rules
1 #!/usr/bin/make -f
2
3 PACKAGE = $(shell dh_listpackages)
4 TMP     = $(CURDIR)/debian/$(PACKAGE)
5
6 %:
7         dh $@
8
9 override_dh_auto_install:
10         dh_auto_install -- verbose=1
11         find $(TMP)/usr/share/perl5/Time/OlsonTZ/Data/ -type f -name '*.tz' -exec $(RM) -v '{}' \;
12         find $(TMP)/usr/share/perl5/Time/OlsonTZ/Data/ -type d -depth -exec rmdir --parents --ignore-fail-on-non-empty --verbose '{}' \;