File: rules

package info (click to toggle)
rex 1.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,020 kB
  • sloc: perl: 36,298; xml: 264; sh: 51; makefile: 13
file content (17 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)
MANDIR  = $(TMP)/usr/share/man/man3

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	rm --verbose $(MANDIR)/Rex::Resource::Common.3pm
	mkdir -p $(TMP)/usr/share/zsh/vendor-completions/
	mv --verbose \
        $(TMP)/usr/share/perl5/auto/share/dist/Rex/rex-tab-completion.zsh \
        $(TMP)/usr/share/zsh/vendor-completions/_rex
	rm --verbose -rf $(TMP)/usr/share/perl5/auto