FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 01-01-2012, 02:07 AM
Dan McGee
 
Default contrib: add install rules for bash and zsh completion

Signed-off-by: Dan McGee <dan@archlinux.org>
---

If anyone has any exotic builds that this breaks in, let me know, but since we
now install everything else we should probably do these too. This vastly
simplifies the pacman-contrib PKGBUILD to say the least.

contrib/Makefile.am | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 8751fd9..73494e8 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -64,6 +64,12 @@ $(OURFILES): Makefile

all-am: $(OURSCRIPTS) $(OURFILES)

+install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(sysconfdir)/bash_completion.d/
+ $(INSTALL_DATA) bash_completion $(DESTDIR)$(sysconfdir)/bash_completion.d/pacman
+ $(MKDIR_P) $(DESTDIR)$(datarootdir)/zsh/site-functions/
+ $(INSTALL_DATA) zsh_completion $(DESTDIR)$(datarootdir)/zsh/site-functions/_pacman
+
bacman: $(srcdir)/bacman.in
bash_completion: $(srcdir)/bash_completion.in
paccache: $(srcdir)/paccache.in
--
1.7.8.1
 

Thread Tools




All times are GMT. The time now is 12:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org