summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-11-25 11:37:13 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-11-25 11:38:21 +0000
commit9323291097406260641fc6bab141b639e2027b43 (patch)
tree41e65bb825442c0633ee948221ab5e54fa74d965 /Makefile
parent2f24e3855bc00dcc99fca525bcbf54ca58bcfdf3 (diff)
Remove doc/spec/ in clean and before re-generating it
Otherwise, people's old org.freedesktop.blah.blah.html files stay there forever, and if someone with those files does maintainer-upload-snapshot, they'll keep coming back. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 50e0019c..f575003b 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ GENERATED_FILES = \
doc/spec/index.html: $(XMLS) tools/doc-generator.py tools/specparser.py $(TEMPLATES)
@install -d doc
+ rm -rf doc/spec
$(PYTHON) tools/doc-generator.py spec/all.xml doc/spec/ telepathy-spec \
org.freedesktop.Telepathy
@@ -51,6 +52,7 @@ clean:
rm -f $(GENERATED_FILES)
rm -rf test/output
rm -rf tmp
+ rm -rf doc/spec
maintainer-upload-snapshot: doc/spec/index.html
@install -d tmp