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