]> arthur.barton.de Git - ConfigScripts.git/blob - Makefile
Let keychain(1) inherit forwarded agents
[ConfigScripts.git] / Makefile
1 #
2 # ConfigScripts - Makefile
3 # Written by Alexander Barton <alex@barton.de>. Public Domain.
4 #
5
6 NAME=ConfigScripts
7
8 all:
9
10 install:
11         sh ./install.sh
12
13 install-local:
14         sh ./install.sh --local
15
16 upgrade:
17         @fgrep "alex@barton.de" /etc/profile >/dev/null 2>&1 \
18          && sudo make install \
19          || echo "*** Upgrade: System configuration skipped."
20         @fgrep "alex@barton.de" ~/.bash_logout >/dev/null 2>&1 \
21          && make install \
22          || echo "*** Upgrade: User configuration skipped."
23
24 clean:
25
26 check:
27
28 dist: clean
29         tar cvzf $(NAME).tar.gz \
30          --exclude ".git" --exclude "*.tar.gz" --exclude "*.tgz" \
31          --exclude "._*" --exclude "*~" --exclude "*.bak" \
32          ../`basename $$PWD`
33
34 # -eof-