1. 11 11月, 2016 4 次提交
  2. 06 10月, 2016 2 次提交
  3. 08 8月, 2016 1 次提交
    • M
      docs: Distribute subsite.xsl · e396de03
      Michal Privoznik 提交于
      So, I've ran into very interesting problem lately. When doing the
      following, I've encountered an error:
      
        libvirt.git $ make dist && tar -xJf libvirt-2.2.0.tar.xz && \
                      cd libvirt-2.2.0 && ./configure && \
                      rm docs/formatdomain.html && make -C docs
      
        make: Entering directory 'docs'
        make: *** No rule to make target 'formatdomain.html', needed by 'web'.  Stop.
        make: Leaving directory 'docs'
      
      I had no idea what was going on, so I've nailed down the commit
      that "broke it" via running git-bisect. It was this one:
      7659bd92. But that shed no more light until I realized
      that the commit might actually just exposed a problem we had. And
      guess what - I've nailed it down. Of course we are not
      distributing subsite.xsl that's why make prints error message.
      Very misleading one I must say.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      e396de03
  4. 26 6月, 2016 1 次提交
  5. 26 4月, 2016 1 次提交
    • A
      docs: Pass relative paths to apibuild.py · 22a592a4
      Andrea Bolognani 提交于
      Since commit d195cffa, both $(srcdir) and $(abs_builddir)
      are passed to the apibuild.py script; however, since the
      former is a relative path and the latter an absolute one, the
      script might not be able to detect whether they point to the
      same location.
      
      Pass both as relative paths to avoid the issue.
      22a592a4
  6. 25 4月, 2016 1 次提交
    • P
      docs: apibuild: Fix VPATH build · d195cffa
      Peter Krempa 提交于
      libvirt-common.h is generated into builddir/include/libvirt. apibuild.py
      only operated on srcdir/inlcude/libvirt. With VPATH build
      srcdir/docs/libvirt-libvirt-common.html would not get generated and make
      RPM failed.
      d195cffa
  7. 21 4月, 2016 1 次提交
    • P
      api: Generate docs for libvirt-common.h · 99283874
      Peter Krempa 提交于
      Since commit f5d9c5d0 moved the virTypedParam stuff into
      libvirt-common we did not generate any docs for them and neither did we
      populate them into libvirt-api.xml. This broke the sanity check in
      libvirt python. Fix it by generating docs for libvirt-common.h too.
      99283874
  8. 20 4月, 2016 2 次提交
  9. 11 3月, 2016 1 次提交
  10. 23 2月, 2016 1 次提交
    • M
      docs: Try harder to uninstall · 0f396a41
      Michal Privoznik 提交于
      Imagine you have partially installed libvirt, or maybe you're
      just running 'make uninstall' from a different version than 'make
      install' has been ran. One way or another, we are doing plain
      'rm' instead of 'rm -f' and thus not trying hard enough when
      uninstalling. In the rest of our code we stick with -f switch. Do
      that for docs too.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      0f396a41
  11. 20 1月, 2016 2 次提交
    • C
      docs: fix syntax-check long line error · a6cfd22e
      Cole Robinson 提交于
      a6cfd22e
    • D
      docs: fix generation of docs from VPATH build · 7659bd92
      Daniel P. Berrange 提交于
      When generating docs in a VPATH build we get a failure to
      create a file due to the 'internals' subdir not existing:
      
        Generating internals/locking.html.tmp
        /bin/sh: line 3: internals/locking.html.tmp: No such file or directory
        rm: cannot remove ‘internals/locking.html.tmp’: No such file or directory
        Makefile:2229: recipe for target 'internals/locking.html.tmp' failed
        make: *** [internals/locking.html.tmp] Error 1
      
      For some reason, make has decided to run the target
      
        %.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in $(acl_generated)
      
      instead of the target
      
        internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in
      
      Removing '$(acl_generated)' from the first target, inexplicably
      causes make to now run the correct target for the internals/
      files.
      
      Rather than figure this out, lets just combine the two targets
      into one.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      7659bd92
  12. 13 1月, 2016 1 次提交
  13. 12 1月, 2016 1 次提交
  14. 30 11月, 2015 1 次提交
    • E
      libvirt: introduce libvirt/libvirt-common.h.in · a20b6237
      Erik Skultety 提交于
      As it turned out, we need to share some enums and declarations between
      libvirt.h and libvirt-admin.h, but since our policy forbids direct includes of
      libvirt*.h, there has to be some header exempt from this rule. This patch moves
      the relevant part of code from libvirt.h.in to libvirt-common.h.in. Moreover,
      since there is no need to have libvirt.h generated anymore, introduce a new
      header libvirt.h which was previosly ignored from git and make the common
      header ignored and generated instead.
      a20b6237
  15. 09 9月, 2015 1 次提交
  16. 08 9月, 2015 1 次提交
  17. 20 8月, 2015 1 次提交
  18. 28 6月, 2015 1 次提交
  19. 26 6月, 2015 1 次提交
  20. 23 6月, 2015 1 次提交
  21. 16 6月, 2015 1 次提交
  22. 27 4月, 2015 1 次提交
  23. 04 12月, 2014 2 次提交
  24. 02 12月, 2014 2 次提交
  25. 20 11月, 2014 1 次提交
  26. 13 11月, 2014 1 次提交
    • D
      Fix API docs for header file re-organization · 47fb6138
      Daniel P. Berrange 提交于
      The API docs generators were broken by the header file
      re-organization. Specifically
      
       * html/libvirt-libvirt.html was empty (and should be deleted)
       * Makefile.am didn't install html/libvirt-libvirt-*.html
       * hvsupport.html was mostly empty
       * sitemap.html.in didn't list the new html/*.html files
      47fb6138
  27. 23 9月, 2013 1 次提交
  28. 12 9月, 2013 1 次提交
    • D
      Repair the search on libvirt.org · a41e95db
      Daniel Veillard 提交于
      First make sure that the input is xhtml as the stylesheets expect
      namespaced element, then use a span element instead of a as a
      is treated specially, finally adjust the makefile to check for
      the new span element and replace it with the PHP code
      a41e95db
  29. 31 8月, 2013 2 次提交
    • E
      build: shipped files must not depend on BUILT_SOURCES · cd3fa762
      Eric Blake 提交于
      'make distcheck' was failing with:
      make[3]: Entering directory `/home/eblake/libvirt-tmp2/libvirt-1.1.1/_build/docs'
      perl ../../docs/genaclperms.pl ../../src/access/viraccessperm.h > ../../docs/aclperms.htmlinc
      /bin/sh: ../../docs/aclperms.htmlinc: Permission denied
      
      when simulating the case of a user doing a VPATH build from a
      read-only source tree.  The culprit?  BUILT_SOURCES are _always_
      built, and so must NOT be built into srcdir and need not be part
      of the tarball.  On the other hand, shipped files must never
      depend on files in the builddir.  While it would be possible to
      fix the problem by generating aclperms.htmlinc into builddir,
      we then have the problem that we ship acl.html - we'd have to
      rejigger a lot of things to not ship pre-built html.  So this
      patch goes the other direction - we don't need BUILT_SOURCES,
      but instead ensure that we have proper dependencies so that
      all files in srcdir are up-to-date at the time the tarball is
      created.  And because we ship html files in the tarball, that
      implies we don't expect users to be able to rebuild them, so
      we must not clean any files that would trigger a rebuild except
      under the maintainer rules.
      
      * docs/Makefile.am (BUILT_SOURCES): Delete.
      (CLEANFILES): Downgrade aclperms.htmlinc cleanup...
      (maintainer-clean-local): ...and move hvsupport.html.in...
      (MAINTAINERCLEANFILES): ...to a maintainer action.
      (hvsupport.html.in): Write into srcdir.
      (hvsupport.html): Ensure files are built in order.
      (aclperms.htmlinc): Honor silent make.
      (EXTRA_DIST): Ship aclperms.htmlinc.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      cd3fa762
    • E
      build: fix 'make distcheck' out of the box · f06eb52f
      Eric Blake 提交于
      With the 1.1.1 tarball, if a user does 'make && make distcheck',
      things pass, but if they do 'make distcheck' after 'make clean',
      there is an odd failure:
      
        GEN      ../../docs/devhelp/index.html
      I/O error : Permission denied
      I/O error : Permission denied
      runtime error: file ../../docs/devhelp/devhelp.xsl line 43 element document
      xsltDocumentElem: unable to save to ../../docs/devhelp/libvirt-virterror.html
      I/O error : Permission denied
      I/O error : Permission denied
      
      This implies that the rules for 'make dist' are missing a
      dependency - the generated documentation needs to be up-to-date
      before creating the tarball, or else the tarball will be missing
      files, where the end user will end up trying to rebuild files in
      srcdir, and that fails when srcdir is read-only.
      
      1.1.1 plus this patch now works without issues (other issues have
      crept in to 1.1.2-rc1 that prevent 'make distcheck' from working,
      but those will be cleaned up in later patches).
      
      * docs/Makefile.am (dist-local): New dependency.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      f06eb52f
  30. 10 8月, 2013 1 次提交
    • D
      Add documentation for access control system · da13f2c7
      Daniel P. Berrange 提交于
      This adds two new pages to the website, acl.html describing
      the general access control framework and permissions models,
      and aclpolkit.html describing the use of polkit as an
      access control driver.
      
      page.xsl is modified to support a new syntax
      
        <div id="include" filename="somefile.htmlinc"/>
      
      which will cause the XSL transform to replace that <div>
      with the contents of 'somefile.htmlinc'. We use this in
      the acl.html.in file, to pull the table of permissions
      for each libvirt object. This table is autogenerated
      from the enums in src/access/viraccessperms.h by the
      genaclperms.pl script.
      
      newapi.xsl is modified so that the list of permissions
      checks shown against each API will link to the description
      of the permissions in acl.html
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      da13f2c7
  31. 19 7月, 2013 1 次提交
    • E
      maint: split long lines in Makefiles · d21d40bf
      Eric Blake 提交于
      Makefiles are another easy file to enforce line limits.
      
      Mostly straightforward; interesting tricks worth noting:
      src/Makefile.am: $(confdir) was already defined, use it in more places
      tests/Makefile.am: path_add and VG required some interesting compression
      
      * cfg.mk (sc_prohibit_long_lines): Add another test.
      * Makefile.am: Fix offenders.
      * daemon/Makefile.am: Likewise.
      * docs/Makefile.am: Likewise.
      * python/Makefile.am: Likewise.
      * src/Makefile.am: Likewise.
      * tests/Makefile.am: Likewise.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      d21d40bf