You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
751 B
26 lines
751 B
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 data/svn.users | sed -e "s|\(.*\)|\1\t = \1\t <\1@$(EMAIL_DOMAIN)>|g" >> data/users.map |
|
@emacs data/users.map |
|
|
|
checkout/%: |
|
@echo Kopiere History von $* |
|
@mkdir -p checkout |
|
svn checkout "file://$(SVN_ROOT)/$*" "checkout/$*"
|
|
|