summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-05-22 13:18:30 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-05-22 13:18:30 +0000
commitac28fa8bb0878d017bcd1cce4cb3af24f9b833c5 (patch)
treed24c62ce166e1ad1364911427b37ea0af3b47dea /Makefile
parent3422795c24e8c6792a4ccc38f2ad75d0a3c42e7e (diff)
Makefile: create tmp/ before using it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 103a031a..80eacfd5 100644
--- a/Makefile
+++ b/Makefile
@@ -76,6 +76,7 @@ clean:
rm -rf tmp
maintainer-upload-snapshot: doc/spec.html
+ @install -d tmp
cp doc/spec.html tmp/spec.html
sed -i~ -e 's,\(<h2>Version [0-9][0-9.]*\)\(</h2>\),\1 (darcs snapshot '`date +%Y%m%d`')\2,' \
tmp/spec.html
@@ -83,6 +84,7 @@ maintainer-upload-snapshot: doc/spec.html
telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/spec-snapshot.html
dist:
+ @install -d tmp
set -e ;\
version="`sed -ne s'!<tp:version>\(.*\)</tp:version>!\1!p' spec/all.xml`";\
distname="telepathy-spec-$$version";\