File: rules

package info (click to toggle)
fonts-anonymous-pro 1.003-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 560 kB
  • sloc: makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

MY_BUILDDIR = $(CURDIR)/build

%:
	dh $@

override_dh_auto_configure:
	mkdir -p $(MY_BUILDDIR)
	(for i in ./*.zip; do TZ=Etc/UTC unzip -d $(MY_BUILDDIR) $$i; done)
	(cd $(MY_BUILDDIR)/AnonymousPro-*.*[0-9]; mv FONTLOG.txt AnonymousPro-FONTLOG.txt)
	(cd $(MY_BUILDDIR)/AnonymousProMinus-*.*[0-9]; mv FONTLOG.txt AnonymousProMinus-FONTLOG.txt)

execute_after_dh_clean:
	$(RM) -rf $(MY_BUILDDIR)