Commit graph

62 commits

Author SHA1 Message Date
Tin Lai 4a7fcb7d1c
implement fish completions file
Signed-off-by: Tin Lai <oscar@tinyiu.com>
2020-07-27 15:45:37 +10:00
spacewander 58d13f88d4 Makefile: check dependencies before installation.
So that the packager will know what are dependencied when they are
making a new package.
2019-06-27 15:12:30 +08:00
罗泽轩 1cb4979ed7
Makefile: change the installed manpage destination in FreeBSD (#725) 2018-08-09 10:06:18 +08:00
Paul Wise 317e546b0a
Remove one of the documentation building tools
The two methods build slightly different manual pages.

The Makefile based version has better headers so use it.

Automatically generate git-extras.md and index.txt when building docs.
2018-05-09 17:16:49 +08:00
Hasse Ramlev Hansen 22a44eb206 Remove double path delimiters in zsh description 2018-03-22 06:56:36 +01:00
spacewander 12cd938db3 install: submit brew patch to upstream
Follow the atempt of pull request #491
2017-07-16 16:50:55 +08:00
spacewander 15759061f5 install: display absolute path of zsh completion script 2017-07-15 14:37:24 +08:00
spacewander 6bd1ebd68b fix a wrong name in installation message 2017-07-06 16:06:29 +08:00
spacewander 64b4a599e8 Check commit existed before running some commands 2017-01-27 18:58:16 +08:00
spacewander 299efd84af submit zsh completion script to upstream
Now what you need is just `source /path/to/git-extras-completion.zsh`
2016-07-21 23:48:06 +08:00
Andrew Janke a1530d90f2 Makefile: fix inverted list of commands that use is_git_repo 2015-12-31 20:28:13 -05:00
Andrew Janke cbad7c63eb installation: put $SYSCONFDIR (/etc) under $PREFIX by default 2015-12-28 00:45:04 -05:00
Andrew Janke 4354cca461 Makefile: allow customizing of SYSCONFDIR (/etc) location 2015-12-27 17:14:17 -05:00
Andrew Janke ed7dcb7682 Makefile: refactor is-git-repo inclusion logic
This avoids the need for a big repeated block of code.
2015-10-02 05:47:08 -04:00
Andrew Janke 5b285380e7 Makefile: escape $ used inside eval as shell variable 2015-10-02 03:48:53 -04:00
spacewander 9916356b14 add alias conflict prompt 2015-09-13 09:55:49 +08:00
Nicolai Skogheim 7e147993d4 Mark default task as .PHONY 2015-08-20 12:47:50 +02:00
Nicolai Skogheim bd05487375 Set default make task to be install 2015-08-08 07:06:31 +02:00
Kylie McClain a56d2a17e4 Makefile: Use a more portable mktemp invocation 2015-06-11 20:05:01 -04:00
go2null c7635f8f21 FIXes 'mktemp' to work again on Linux
Broken in 67241a46a8

`mktemp` for BSD (including OSX) requires a template, but it allows any number
of `X`s in the template.

(GNU) `mktemp` for Linux does not require a template, however, if a template is
specified, then the number of `X`s must be 6.

See http://unix.stackexchange.com/a/206111/117157
2015-05-28 11:22:52 +00:00
Kylie McClain 336501382e helper/reset-env: helper to prevent GREP_OPTIONS from causing issues 2015-04-08 18:50:41 -04:00
spacewander 32aee50bc6 extra mktemp into git_extra_mktemp
now we can put all utility functions to git-extra-utility
2015-02-05 14:22:49 +08:00
Rasmus Wriedt Larsen fe3a781de0 make will not assume man pages already exists
They where removed from the repo by issue #291
2014-12-11 21:14:12 +01:00
spacewander 67241a46a8 Update mktemp command to work on Mac OS X
Fix issue 274. It seens like the same with
[this issue](https://github.com/StanAngeloff/lotte/issues/1).
2014-11-13 22:13:13 +08:00
spacewander d9724f3b46 use mixin to add 'is git repo' check for some commands
When those commands are used outside a git repo, 'Not a git repo!' will be
printed to stderr
2014-09-25 00:41:43 +08:00
Andre Cerqueira ad045b7777 improved Makefile with BINPREFIX 2014-06-17 22:43:18 -03:00
Andre Cerqueira 04076cd5df fixed Makefile uninstall target for man files 2014-06-17 22:43:18 -03:00
TJ Holowaychuk 12b864e752 move docs target up 2013-05-15 10:02:38 -07:00
Curtis McEnroe 1c95138455 Uninstall bash completion from correct directory
Target $(DESTDIR)/etc instead of $(DESTDIR)$(PREFIX)/etc to match install.
2012-05-14 22:25:08 -03:00
Curtis McEnroe 0308bd0ba0 Install bash completion to $(DESTDIR)/etc, not $(DESTDIR)$(PREFIX)/etc
This fixes bash completion files being installed to /usr/etc when they should be installed to /etc.
2012-02-22 15:26:36 -05:00
David Baumgold bfc3f788a1 Make bash_completion install respect $(PREFIX) variable 2012-01-25 11:17:31 -05:00
David Baumgold 1d61a21b46 Support DESTDIR
See http://www.gnu.org/prep/standards/html_node/DESTDIR.html for details.
2012-01-25 11:11:47 -05:00
TJ Holowaychuk 8ad024a515 make /etc/bash_completion.d 2012-01-15 13:25:46 -08:00
Jonhnny Weslley ad19d2fdcf (un)installation instructions 2012-01-14 11:17:34 -03:00
Jens K. Mueller 5ce9bb7147 Create install dir before copying 2011-02-11 08:24:22 -08:00
Tj Holowaychuk 88d3c87f80 MANPATH -> MANPREFIX. Closes #25 2010-11-03 07:41:10 -07:00
Tj Holowaychuk ec95872934 Installing / uninstall man pages 2010-10-31 11:54:37 -07:00
Tj Holowaychuk 99d324308b Built docs 2010-10-31 11:51:12 -07:00
Tj Holowaychuk ec756502d6 typo 2010-10-31 11:48:02 -07:00
Tj Holowaychuk e9dbcd19f9 new make clean 2010-10-31 11:47:39 -07:00
Tj Holowaychuk c64a82b76e Started new makefile for docs 2010-10-31 11:47:11 -07:00
Tj Holowaychuk 1233825519 Renamed man pages to *.md 2010-10-31 11:41:30 -07:00
Tj Holowaychuk 01f7eb07c2 misc makefile fixes 2010-10-31 11:33:50 -07:00
Jonhnny Weslley 81296601e9 man pages support 2010-10-27 17:14:38 -03:00
Tj Holowaychuk 90bc5ff7ba Fixed PREFIX to respect env vars
aka: PREFIX=/usr make install
will no work
2010-09-08 15:23:59 -07:00
Aggelos Orfanakos cefe4689f2 Use wildcard function for $(BINS) 2010-09-02 10:28:10 +03:00
Kenneth Reitz d978428973 Added git-graft. 2010-08-28 12:16:54 -07:00
Kenneth Reitz 22ac367284 Added git-undo for removing recent commits. 2010-08-27 23:22:26 -07:00
Kenneth Reitz a7813455cf updated makefile 2010-08-27 21:19:57 -07:00
Tj Holowaychuk 2675fbf411 Added git-extras-version 2010-08-27 13:44:41 -07:00