File: rules

package info (click to toggle)
ruby-zip 2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,192 kB
  • sloc: ruby: 8,386; makefile: 23
file content (21 lines) | stat: -rwxr-xr-x 489 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
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install
export LANG = C.UTF-8

%:
	dh $@ --buildsystem=ruby --with ruby

override_dh_auto_clean:
	$(RM) -R test/data/generated
	cd test && find . -maxdepth 1 -type f -and -not -iname '*.rb' -and -not -iname '.cvsignore' -delete
	$(RM) okToDeleteMoved.txt
	$(RM) *.bin
	$(RM) *.zip
	$(RM) extEntry
	$(RM) -Rf emptyOutDir

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/ruby-zip/usr/bin