Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dab18e7
commit 546f632
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class GitExtras(Schema): | ||
url = 'git://github.com/visionmedia/git-extras.git' | ||
homepage = 'https://github.com/visionmedia/git-extras' | ||
deps = ['git'] | ||
patch_which_fixes_paths = 'patches/git-extras-fix-bashcompletion-path.diff' | ||
|
||
def install(self): | ||
self.call('make install PREFIX={prefix}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/Makefile b/Makefile | ||
index 8838112..4946bb2 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -15,8 +15,8 @@ install: | ||
cp -f $(BIN) $(DESTDIR)$(PREFIX)/$(BIN); \ | ||
) | ||
cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX) | ||
- @mkdir -p $(DESTDIR)/etc/bash_completion.d | ||
- cp -f etc/bash_completion.sh $(DESTDIR)/etc/bash_completion.d/git-extras | ||
+ @mkdir -p $(DESTDIR)$(PREFIX)/etc/bash_completion.d | ||
+ cp -f etc/bash_completion.sh $(DESTDIR)$(PREFIX)/etc/bash_completion.d/git-extras | ||
|
||
docs: $(MAN_HTML) $(MAN_PAGES) | ||
|
||
@@ -42,7 +42,7 @@ uninstall: | ||
echo "... uninstalling $(DESTDIR)$(MANPREFIX)/$(MAN)"; \ | ||
rm -f $(DESTDIR)$(MANPREFIX)/$(MAN); \ | ||
) | ||
- rm -f $(DESTDIR)/etc/bash_completion.d/git-extras | ||
+ rm -f $(DESTDIR)$(PREFIX)/etc/bash_completion.d/git-extras | ||
|
||
clean: docclean | ||
|