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.
This commit is contained in:
Dan Williams 2011-03-14 10:56:56 -05:00
parent 50da718c2e
commit 100580b7fe

View file

@ -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)