summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4d4bfa092bdce5fa4e933297b08368e1b5bc9972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PREFIX ?= /usr
DESTDIR ?=

.PHONY: install

all:
	@echo "Password store is a shell script, so there is nothing to do. Try \"make install\" instead."

install:
	@mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 $(DESTDIR)/etc/bash_completion.d
	@install -v src/password-store.sh $(DESTDIR)$(PREFIX)/bin/pass
	@install -v man/pass.1 $(DESTDIR)$(PREFIX)/share/man/man1/pass.1
	@install -v bash-completion/pass-bash-completion.sh $(DESTDIR)/etc/bash_completion.d/password-store

uninstall:
	@rm -vf $(DESTDIR)$(PREFIX)/bin/pass $(DESTDIR)$(PREFIX)/share/man/man1/pass.1 $(DESTDIR)/etc/bash_completion.d/password-store
td> This makes cgit read all repo-info from the configfile, instead of scanning for possible git-dirs below a common root path. This is primarily done to get better security (separate physical path from logical repo-name). In /etc/cgitrc each repo is registered with the following keys: repo.url repo.name repo.path repo.desc repo.owner Note: *Required keys are repo.url and repo.path, all others are optional *Each occurrence of repo.url starts a new repository registration *Default value for repo.name is taken from repo.url *The value of repo.url cannot contain characters with special meaning for urls (i.e. one of /?%&), while repo.name can contain anything. Example: repo.url=cgit-pub repo.name=cgit/public repo.path=/pub/git/cgit repo.desc=My public cgit repo repo.owner=Lars Hjemli repo.url=cgit-priv repo.name=cgit/private repo.path=/home/larsh/src/cgit/.git repo.desc=My private cgit repo repo.owner=Lars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2007-02-04Do not die if tag has no messageLars Hjemli1-2/+2 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2007-02-03Fix search for non-virtual urlsLars Hjemli1-0/+6 When cgit don't use virtual urls, the current repo and page url parameters must be included in the search form as hidden input fields. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2007-01-28Update README with install/config informationLars Hjemli1-24/+28 Signed-off-by: Lars Hjemli <hjemli@gmail.com>