1. 04 4月, 2012 1 次提交
    • D
      Fix parallel build in docs/ directory · 4f4b496e
      Daniel P. Berrange 提交于
      Every now & then, with parallel builds, we get a failure to
      validate hvsupport.html.in.  I eventually noticed that this
      is because we get 2 instances of the generator running at
      once.
      
      We already list hvsupport.html.in in BUILT_SOURCES but this
      was not working. It turns out the flaw is that we were
      adding deps to the 'all:' target instead of the 'all-am:'
      target. BUILT_SOURCES is a dep of 'all', so any custom
      targets written in Makefile.am must use 'all-am:' so that
      they don't get run until BUILT_SOURCES are completely
      generated
      
      * docs/Makefile.am: s/all/all-am/
      4f4b496e
  2. 15 2月, 2012 1 次提交
    • D
      Install API XML desc to a standard location · c95c90ee
      Daniel P. Berrange 提交于
      Language bindings may well want to use the libvirt-api.xml and
      libvirt-qemu-api.xml files to either auto-generate themselves,
      or sanity check the manually written bindings for completeness.
      Currently these XML files are not installed as standard, merely
      ending up as a %doc file in the RPM.
      
      This changes them to be installed into $prefix/share/libvirt/apis/
      The *-refs.xml files are not installed, since those are only
      useful during generation of the online API doc files.
      
      The pkg-config file is enhanced so that you can query the install
      location of the API files. eg
      
        # pkg-config --variable=libvirt_qemu_api libvirt
        /home/berrange/builder/i686-pc-mingw32/sys-root/mingw/share/libvirt/libvirt-qemu-api.xml
      
      * docs/Makefile.am: Install libvirt-api.xml & libvirt-qemu-api.xml
      * libvirt.pc.in: Add vars for querying API install location
      * libvirt.spec.in, mingw32-libvirt.spec.in: Include API XML files
      c95c90ee
  3. 28 10月, 2011 1 次提交
    • D
      Add documentation about migration. · a7847844
      Daniel P. Berrange 提交于
      This adds a page documenting many aspects of migration:
      
       - The types of migration (managed direct, p2p, unmanaged direct)
       - Data transports (native, tunnelled)
       - Migration URIs
       - Config file handling
       - Example scenarios
      
      * libvirt.css: Rules for data tables and diagrams
      * Makefile.am: Include extra png/fig files
      * migration-managed-direct.fig, migration-managed-direct.png,
        migration-managed-direct.png, migration-managed-p2p.png,
        migration-native.fig, migration-native.png,
        migration-tunnel.fig, migration-tunnel.png,
        migration-unmanaged-direct.fig, migration-unmanaged-direct.png:
        Diagrams of migration
      * migration.html.in, sitemap.html.in: New migration doc
      a7847844
  4. 14 9月, 2011 2 次提交
  5. 29 7月, 2011 1 次提交
    • E
      maint: add missing copyright notices · ff81956a
      Eric Blake 提交于
      I went with the shorter license notice used by src/libvirt.c,
      rather than spelling out the full LGPLv2+ clause into each of
      these files.
      
      * configure.ac: Declare copyright.
      * all Makefile.am: Likewise.
      ff81956a
  6. 19 7月, 2011 2 次提交
    • E
      build: detect doc generation failure · 97ee0953
      Eric Blake 提交于
      Commit 8665f855 introduced a slight regression in doc generation,
      since make only quits a rule on the first failed command ending
      with a newline rather than a semicolon.
      
      * docs/Makefile.am (html/index.html): Don't use xmllint unless
      xsltproc succeeded.
      * .gitignore: Ignore recently updated stamp file name.
      97ee0953
    • D
      Quieten build & ensure API build scripts exit with non-zero status · 8665f855
      Daniel P. Berrange 提交于
      The current API build scripts will continue and exit with a zero
      status even if they find problems. This has been the cause of many
      build problems, or hidden build errors, in the past. Change the
      scripts so they always exit with a non-zero status for any problems
      they do not understand. Also turn off all debug output by default
      so they respect $(AM_V_GEN)
      
      * docs/Makefile.am: Use $(AM_V_GEN) for API/HTML scripts
      * docs/apibuild.py, python/generator.py: Exit with non-zero status
        if problems are found. Also be silent, not outputting any debug
        messages.
      * src/Makefile.am: Use $(AM_V_GEN) for ESX generator
      * python/Makefile.am: Tweak rule
      8665f855
  7. 14 7月, 2011 1 次提交
    • E
      build: fix VPATH build of todo · b8f36e74
      Eric Blake 提交于
      Without this patch, the make rule in a VPATH build was trying to
      invoke ../../docs/../../docs/todo.pl, which didn't exist.
      
      * docs/Makefile.am (todo.html.in): Using $< already implies
      $(srcdir) in GNU make VPATH situations.
      b8f36e74
  8. 01 7月, 2011 1 次提交
  9. 02 6月, 2011 2 次提交
    • E
      build: fix VPATH build break from previous patch · a2f9bd5b
      Eric Blake 提交于
      Partial revert of commit c3c30d4d.
      
      * docs/Makefile.am (internals/%.html.tmp): Restore MKDIR_P; it is
      needed for intermediate file after all.
      Reported by Daniel P. Berrange.
      a2f9bd5b
    • E
      build: avoid corrupting / in RHEL 5 · c3c30d4d
      Eric Blake 提交于
      I noticed this while building from libvirt.git on RHEL 5.6:
      
      Generating internals/command.html.tmp
      mkdir: cannot create directory `/internals': Permission denied
      
      If I had been building as root instead, this pollutes /.
      
      Older autoconf lacks $(builddir), but it is rigorously equal to '.'
      in newer autoconf, so we could use '$(MKDIR_P) internals' instead.
      
      However, since internals/command.html is part of the tarball, we
      _already_ build it in $(srcdir), not $(builddir) during VPATH
      builds, so the mkdir is wasted effort!
      
      * docs/Makefile.am (internals/%.html.tmp): Drop unused mkdir.
      c3c30d4d
  10. 01 6月, 2011 1 次提交
  11. 31 5月, 2011 1 次提交
  12. 16 5月, 2011 1 次提交
    • D
      Automatically generate the hvsupport.html.in file from source files · 4ffc6d17
      Daniel P. Berrange 提交于
      The hvsupport.html.in file is forever out of date. By annotating
      the driver struct tables in each driver with version information,
      we can auto-generate the hvsupport.html.in file. Annotating the
      drivers will be mandatory for new patches, ensuring hvsupport.html.in
      is never out of date again.
      
      * docs/hvsupport.html.in: Delete
      * hvsupport.pl: Script to generate hvsupport.html.in
      * Makefile.am: Autogenerate hvsupport.html.in
      4ffc6d17
  13. 22 2月, 2011 1 次提交
    • E
      maint: fix 'make dist' in VPATH build · 7e1dd7e0
      Eric Blake 提交于
      A diff of 'make dist' from in-tree vs. a VPATH build showed
      that we were missing docs/api_extension/*.patch files, but
      shipping other files that we didn't need.
      
      * bootstrap.conf (gnulib_extra_files): Don't distribute files we
      don't care about.
      * docs/Makefile.am (patches): Perform wildcard correctly.
      7e1dd7e0
  14. 21 2月, 2011 1 次提交
    • J
      build: Fix API docs generation in VPATH build · 6e9f3dfa
      Jiri Denemark 提交于
      XSLT allows for two ways of generating the output of transformation.
      Either implicit, which xsltproc prints to stdout and can be redirected
      to a file using -o file. Or explicit, which means the stylesheet
      contains <xsl:document> element which specifies where the output should
      be saved. This can be used for generating more files by a single run of
      xsltproc and -o directory/ can change the directory where the output
      files will be stored.
      
      devhelp.xsl is special in that it combines both options in one
      stylesheet, which doesn't work well with -o:
      
      xsltproc --nonet -o ./devhelp/ ./devhelp/devhelp.xsl ./libvirt-api.xml
      
      Outputs 4 *.html files into ./devhelp but then tries to write to
      ./devhelp/ as a file (hence the I/O error) rather than writing output to
      the fifth file devhelp/libvirt.devhelp.
      
      This patch modifies devhelp.xsl so that all files are generated using
      <xsl:document> element and -o directory/ can be used to override output
      directory where those files are saved.
      6e9f3dfa
  15. 18 2月, 2011 1 次提交
  16. 17 2月, 2011 2 次提交
  17. 12 2月, 2011 1 次提交
  18. 06 12月, 2010 1 次提交
  19. 03 12月, 2010 1 次提交
  20. 26 10月, 2010 2 次提交
  21. 22 10月, 2010 1 次提交
  22. 13 10月, 2010 1 次提交
  23. 12 10月, 2010 1 次提交
    • D
      Add automatic generation of a todo item page · 1938bc69
      Daniel P. Berrange 提交于
      This adds a script to generate the todo item page from
      bugzilla. This requires a valid username+password for
      bugzilla, so it is intended that this only be run on
      the libvirt.org website via cron. Normal usage will just
      generate an empty stub page.
      
      * docs/todo.pl: Script to extract todo items from bugzilla
      * docs/todo.cfg-example: Example config file
      * docs/sitemap.html.in: Add todo page
      * docs/Makefile.am: Generation rules for todo items
      1938bc69
  24. 29 9月, 2010 1 次提交
    • J
      mac os x: use awk selected by build system rather than first in path · 81e329eb
      Justin Clift 提交于
      Prior to this patch, the ChangeLog generation was hard coded to use
      "awk", when it should have been using the AWK variable set by our
      build system.
      
      This breaks compilation on a newly installed OS X system, where the
      default path has the Mac (non GNU) awk in the default search PATH
      before any installed GNU awk (gawk).
      81e329eb
  25. 28 7月, 2010 1 次提交
    • C
      docs: Link wiki FAQ to main page · f8b76f41
      Cole Robinson 提交于
      Since DV recommended keeping the build instructions distributed with the
      source, move them from the old FAQ to the downloads page.
      f8b76f41
  26. 13 7月, 2010 1 次提交
  27. 07 7月, 2010 1 次提交
  28. 26 6月, 2010 1 次提交
    • E
      build: fix regression with libvirt-api.xml generation · 47ae6d3d
      Eric Blake 提交于
      (EXTRA_DIST): Remove redundant listing of xml files.
      (html/%-%.html, html/%-virterror.html, %-api.xml, %-refs.xml):
      Rewrite with...
      (python_generated_files): ...new macro, since make didn't see
      through the dependency chain correctly otherwise.
      47ae6d3d
  29. 27 5月, 2010 1 次提交
    • E
      build: support 'make check' in pristine tree · 047b024f
      Eric Blake 提交于
      Otherwise, 'make check' in the python dir tries to reference a file in
      docs that is built by 'make' but not by 'make check'.
      
      * docs/Makefile.am (check-local): New rule.
      Reported by Matthias Bolte.
      047b024f
  30. 11 5月, 2010 1 次提交
  31. 01 4月, 2010 1 次提交
    • E
      build: more fallout from test -a · a792bf24
      Eric Blake 提交于
      * cfg.mk (sc_prohibit_test_minus_ao): Also check for [.
      * docs/Makefile.am (%.html, html/index.html): Avoid non-portable
      test usage.
      * libvirt.spec.in (%post): Likewise.
      * tools/virt-pki-validate.in (servercert.pem): Likewise.
      * configure.ac (LOGNAME): Use test, not [, in files processed by
      autoconf.
      Detected by Matthias Bolte.
      a792bf24
  32. 25 2月, 2010 4 次提交