1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
override_dh_auto_install:
dh_auto_install
sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/bin/gitlab-api-v4
# call manually before upload to update shell completions
completion:
$(CURDIR)/debian/utils/update-shell-completions
# call manually before upload to check if module is regeneratable
# not called during build as it removes $VERSION
generate:
( cd $(CURDIR)/author ; perl generate.pl > $(CURDIR)/lib/GitLab/API/v4.pm )
.PHONY: completion generate
|