summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-03-14 10:56:56 -0500
committerDan Williams <dcbw@redhat.com>2011-03-14 10:56:56 -0500
commit100580b7fe4559db5c7928ec90215ae259bd7f01 (patch)
tree291a1cbdbf7c9f0afc284d7c88286575e9f33eac /docs
parent50da718c2e191fb550dc6ecebb2f110e2723d534 (diff)
docs: fix distcheck error building settings spec
Apparently sometimes when doing the distcheck the generator can't open the file for writing (gets ENOACCESS) presumably because there's already a file there that's read-only. So remove any existing settings spec before regenerating.
Diffstat (limited to 'docs')
-rw-r--r--docs/api/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am
index f4067b87..687d9cfb 100644
--- a/docs/api/Makefile.am
+++ b/docs/api/Makefile.am
@@ -42,6 +42,7 @@ spec.html: $(XMLS) $(OTHER_FILES) html-build.stamp
cp $@ $(builddir)/html/
settings-spec.xml: generate-settings-spec $(top_builddir)/libnm-util/libnm-util.la
+ rm -f $(builddir)/$@
$(builddir)/generate-settings-spec $(builddir)/$@
all: $(GENERATED_FILES)