rules: Fix installing bash-completions. (Closes: #1089329)

This commit is contained in:
Timo Aaltonen 2024-12-09 13:46:04 +02:00
parent df4f5134e6
commit 07fbf75f2a
2 changed files with 3 additions and 4 deletions

1
debian/changelog vendored
View File

@ -7,6 +7,7 @@ freeipa (4.12.2-1) UNRELEASED; urgency=medium
it now. (Closes: #1072168) it now. (Closes: #1072168)
* use-raw-strings.diff: Dropped, upstream. * use-raw-strings.diff: Dropped, upstream.
* control: Build-depend on systemd-dev instead of systemd. * control: Build-depend on systemd-dev instead of systemd.
* rules: Fix installing bash-completions. (Closes: #1089329)
-- Timo Aaltonen <tjaalton@debian.org> Mon, 09 Dec 2024 12:17:20 +0200 -- Timo Aaltonen <tjaalton@debian.org> Mon, 09 Dec 2024 12:17:20 +0200

6
debian/rules vendored
View File

@ -84,10 +84,8 @@ ifneq ($(ONLY_CLIENT), 1)
touch $(DESTDIR)/usr/share/ipa/html/krbrealm.con touch $(DESTDIR)/usr/share/ipa/html/krbrealm.con
endif endif
mkdir -p $(DESTDIR)/usr/share/bash-completion/completions \ mkdir -p $(DESTDIR)/usr/share/bash-completion/completions
install -m 0644 contrib/completion/ipa.bash_completion \ mv $(DESTDIR)/etc/bash_completion.d/ipa $(DESTDIR)/usr/share/bash-completion/completions
$(DESTDIR)/usr/share/bash-completion/completions/ipa
rm -rf $(DESTDIR)/etc/bash_completion.d
# purge .la files # purge .la files
find $(CURDIR)/debian/tmp -name "*.la" -type f -exec rm -f "{}" \; find $(CURDIR)/debian/tmp -name "*.la" -type f -exec rm -f "{}" \;