Commit 124ad009 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Add a Makefile for the git-auth wrapper

Avoid manual editing of the wrapper script when a non-standard path is

Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent 10ecd398
......@@ -34,8 +34,7 @@ Setup on Arch Linux
7) Install the git-auth wrapper script:
# cd /srv/http/aurweb/git-interface/
# cp /usr/local/bin/aur-git-auth
# chmod 755 /usr/local/bin/aur-git-auth
# make && make install
8) Configure sshd(8) for the AUR. Add the following lines at the end of your
sshd_config(5) and restart the sshd. Note that OpenSSH 6.9 or newer is
GIT_INTERFACE_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
chmod +x
install -Dm0755 "$(DESTDIR)$(PREFIX)/bin/aur-git-auth"
rm -f "$(DESTDIR)$(PREFIX)/bin/aur-git-auth"
rm -f
.PHONY: install uninstall clean
PREFIX = /usr/local
/srv/http/aurweb/git-interface/ "$1" "$2"
%GIT_INTERFACE_DIR%/ "$1" "$2"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment