1. 10 10月, 2016 1 次提交
  2. 26 6月, 2016 1 次提交
    • E
      examples: admin: Add some examples for the new admin APIs · fbb8205d
      Erik Skultety 提交于
      Some of the examples make use of asprintf and strtol functions (to keep
      things simple) which are prohibited to use within our code (enforced by
      syntax-check). Therefore besides adding some examples, this patch also updates
      cfg.mk to exclude examples directory from asprintf and strtol rules, as well as
      updates .gitignore to exclude all the new admin binaries created in the
      'examples' dir.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      fbb8205d
  3. 20 4月, 2016 1 次提交
    • M
      examples: Try harder to uninstall nwfilter · 25866ec6
      Michal Privoznik 提交于
      We have this code in our Makefile that tries to remove
      /etc/libvirt/nwfilter if directory is left empty after all our
      example nwfilters were uninstalled. However, the check for that
      is missing quotation marks thus rendering the test useless:
      
      test -z allow-arp.xml allow-dhcp-server.xml .. qemu-announce-self.xml || \
        rmdir "/some/path/libvirt.git/_install/etc/libvirt/nwfilter"
      /bin/sh: line 0: test: too many arguments
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      25866ec6
  4. 18 4月, 2016 1 次提交
  5. 13 1月, 2016 1 次提交
  6. 10 1月, 2016 1 次提交
    • C
      examples: Use one top level makefile · da176bf6
      Cole Robinson 提交于
      Using one Makefile per example subdirectory essentially serializes 'make'
      calls. Convert to one example/Makefile that builds and distributes
      all the subdir files. This reduces example/ rebuild time from about 5.8
      seconds to 1.5 seconds on my machine.
      
      One slight difference is that we no longer ship Makefile.am with the
      examples in the rpm. This was virtually useless anyways since the Makefile
      was very specific to libvirt infrastructure, so wasn't generically
      reusable anyways.
      
      Tested with 'make distcheck' and 'make rpm'
      da176bf6