File: rules

package info (click to toggle)
mrrescue 1.02c-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,124 kB
  • ctags: 347
  • sloc: makefile: 7; sh: 1
file content (11 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

BUILD_DATE=$(shell dpkg-parsechangelog --show-field=Date)

%:
	dh $@

override_dh_auto_build:
	find mrrescue -type f -exec touch --date='$(BUILD_DATE)' {} \;
	cd mrrescue && find -type f | LC_ALL=C sort | \
               env TZ=UTC zip -r -q -9 -X ../mrrescue.love -@