From 100580b7fe4559db5c7928ec90215ae259bd7f01 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 14 Mar 2011 10:56:56 -0500 Subject: [PATCH] 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. --- docs/api/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am index f4067b87e9..687d9cfb1c 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)