]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/unifdef/scripts/upload.sh
Add 'contrib/unifdef/' from commit '0da44885831dc0a43c4ca6ff04a2430993cc0a80'
[FreeBSD/FreeBSD.git] / contrib / unifdef / scripts / upload.sh
1 #!/bin/sh -e
2
3 make unifdef.txt
4 cp unifdef.txt web
5
6 git gc --aggressive
7 git update-server-info
8 git push --all github
9 git push --tags github
10
11 # for gitweb
12 echo "selectively remove C preprocessor conditionals" >.git/description
13 echo "Homepage: <a href='http://dotat.at/prog/unifdef'>http://dotat.at/prog/unifdef</a>" >.git/README.html
14
15 touch .git/git-daemon-export-ok
16 rsync --recursive --links --delete .git/ chiark:public-git/unifdef.git/
17 rsync --recursive --links           web/ chiark:public-html/prog/unifdef/
18
19 exit