X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/133a4a19e2797134d5ba9a1129794fcaf19768a6..1dc0cedaed875e010691b20a83d46447dc808cb5:/scripts/dist diff --git a/scripts/dist b/scripts/dist index 1855aa8..6007ab0 100755 --- a/scripts/dist +++ b/scripts/dist @@ -1,39 +1,34 @@ #! /bin/bash # # This file is part of DisOrder -# Copyright (C) 2005, 2006 Richard Kettlewell +# Copyright (C) 2005-2008 Richard Kettlewell # -# This program is free software; you can redistribute it and/or modify +# This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA +# along with this program. If not, see . # set -e [ -d =build ] && cd =build make -make check +make distcheck make dist-bzip2 d=$(make echo-distdir) cp $d.tar.bz2 $HOME/work/web/disorder -cp CHANGES $HOME/work/web/disorder/CHANGES.txt -cp README $HOME/work/web/disorder/README.txt -cp ChangeLog.d/*--* $HOME/work/web/disorder/ChangeLog.d cd doc for f in *.[1-9].html; do echo $f rm -f $HOME/work/web/disorder/$f sed < $f > $HOME/work/web/disorder/$f 's/^@.*//' done -cp doc/plumbing.svg $HOME/work/web/disorder -cp doc/plumbing.png $HOME/work/web/disorder +cp plumbing.svg $HOME/work/web/disorder +cp plumbing.png $HOME/work/web/disorder