1. 26 6月, 2017 1 次提交
    • A
      HACKING: Drop from the git repository · d6725518
      Andrea Bolognani 提交于
      Despite being a generated file, HACKING has been tracked in
      the git repository along with actual source files. As far as
      I'm aware, it's the only generated file for which that happens.
      
      Times and times again, people[1] have committed changes to
      the source file without refreshing the generated copy at the
      same time.
      
      The rationale for tracking the generated file is to help out
      people who just cloned the git repository looking to contribue;
      however, README-hacking already contains enough information to
      get perspective contributors to a place where they can simply
      look at docs/hacking.html instead.
      
      [1] Mostly me, to be honest
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      d6725518
  2. 12 5月, 2017 1 次提交
  3. 05 4月, 2017 1 次提交
  4. 11 1月, 2017 1 次提交
    • A
      NEWS: Improve building pipeline · be36ea4b
      Andrea Bolognani 提交于
      Currently, building the NEWS file involves using a XSLT stylesheet
      to extract information from the same HTML file that's used on the
      libvirt website.
      
      The process works, but it's quite fiddly in that it requires the
      source HTML to be formatted in a very precise way, and a single
      missing newline can mess up the resulting plain text considerably.
      
      Moreover, the XSLT stylesheet itself encodes a lot of the details
      of converting to plain text in a way that's not necessarily easy
      to understand, tweak or fix.
      
      To improve the process, move all existing entries to a new XML
      file that contains exactly the information we care about in a
      simple structured format, and start generating both the HTML and
      plain text versions of the release notes using XSLT stylesheets
      that can now afford to be almost trivial.
      be36ea4b
  5. 07 12月, 2016 1 次提交
    • J
      docs: Rebuild apihtml docs when source changes · 55bddd5e
      John Ferlan 提交于
      When changing one of the src/libvirt-*.c files to alter the docs, the
      adjusted files weren't being built.  Added them into APIBUILD_STAMP and
      then added that to the html/index.html rule which is used for the
      $(apihtml_generated) generated rule.
      
      Also, for clean we can remove the html/*.html files
      55bddd5e
  6. 11 11月, 2016 7 次提交
  7. 06 10月, 2016 2 次提交
  8. 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
  9. 26 6月, 2016 1 次提交
  10. 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
  11. 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
  12. 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
  13. 20 4月, 2016 2 次提交
  14. 11 3月, 2016 1 次提交
  15. 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
  16. 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
  17. 13 1月, 2016 1 次提交
  18. 12 1月, 2016 1 次提交
  19. 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
  20. 09 9月, 2015 1 次提交
  21. 08 9月, 2015 1 次提交
  22. 20 8月, 2015 1 次提交
  23. 28 6月, 2015 1 次提交
  24. 26 6月, 2015 1 次提交
  25. 23 6月, 2015 1 次提交
  26. 16 6月, 2015 1 次提交
  27. 27 4月, 2015 1 次提交
  28. 04 12月, 2014 2 次提交
  29. 02 12月, 2014 2 次提交