Stephan Richter
3 years ago
1 changed files with 21 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||||||
|
SVN_ROOT=/raid/svn
|
||||||
|
TMP_DIR=/tmp
|
||||||
|
EMAIL_DOMAIN=ugn-umwelttechnik.de
|
||||||
|
|
||||||
|
default: data/users.map |
||||||
|
|
||||||
|
clean: |
||||||
|
@echo Räume auf…
|
||||||
|
@mkdir -p data
|
||||||
|
@rm -r data
|
||||||
|
|
||||||
|
data/svn.users: |
||||||
|
@echo Lese Benutzerkennungen aus der Commit-Liste…
|
||||||
|
@mkdir data
|
||||||
|
@svn log file://$(SVN_ROOT) | grep '|' | awk '{print $$3}' | sort -u > data/svn.users
|
||||||
|
|
||||||
|
data/users.map: data/svn.users |
||||||
|
@echo Bereite Benutzer-Map-Datei vor…
|
||||||
|
@echo '# Bitte gib die Echt-Namen der Benutzer zwischen den Gleichheitszeichen und den Email-Adressen ein!' > data/users.map
|
||||||
|
@cat svn.users | sed -e "s|\(.*\)|\1 = \1 <\1@$(EMAIL_DOMAIN)>|g" >> data/users.map
|
||||||
|
@emacs data/user.map
|
Loading…
Reference in new issue