mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 21:10:08 +01:00
docs: fix distcheck and ensure spec.html gets put in the right place
gtk-doc removes the 'html' directory as part of the build process so we need to have spec.html generation depend on the gtk-doc html target. Also, fix up the paths to make sure the generated spec.html gets copied into the final 'html' directory.
This commit is contained in:
parent
32c262e1ae
commit
e05fd1cc47
1 changed files with 3 additions and 3 deletions
|
|
@ -36,12 +36,12 @@ OTHER_FILES= \
|
|||
|
||||
GENERATED_FILES = spec.html settings-spec.xml
|
||||
|
||||
spec.html: $(XMLS) $(OTHER_FILES)
|
||||
spec.html: $(XMLS) $(OTHER_FILES) html-build.stamp
|
||||
$(XSLTPROC) $(top_srcdir)/tools/doc-generator.xsl $(top_srcdir)/introspection/all.xml > $@
|
||||
mkdir -p $(builddir)/html/
|
||||
cp $(builddir)/spec.html $(builddir)/html/
|
||||
cp $@ $(builddir)/html/
|
||||
|
||||
settings-spec.xml: generate-settings-spec $(top_builddir)/libnm-util/libnm-util.la spec.html
|
||||
settings-spec.xml: generate-settings-spec $(top_builddir)/libnm-util/libnm-util.la
|
||||
$(builddir)/generate-settings-spec $(builddir)/$@
|
||||
|
||||
all: $(GENERATED_FILES)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue