Mon Jun 11 14:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

* docs/examples/index.py: Autogenerate Makefile.am and
	  .cvsignore in this directory with corrected LDADDS and
	  including some generated subdirectories which CVS should
	  ignore.
This commit is contained in:
Richard W.M. Jones 2007-06-11 13:55:03 +00:00
parent 0bbe8da810
commit bc2f1b3cf4
4 changed files with 20 additions and 11 deletions

View File

@ -1,3 +1,10 @@
Mon Jun 11 14:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* docs/examples/index.py: Autogenerate Makefile.am and
.cvsignore in this directory with corrected LDADDS and
including some generated subdirectories which CVS should
ignore.
Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* libvirt.spec.in: BuildRequires gnutls-devel and

View File

@ -1,7 +1,7 @@
.memdump
Makefile.in
Makefile
info1
suspend
.deps
.libs
.libs
suspend
info1

View File

@ -18,24 +18,24 @@ install-data-local:
EXTRA_DIST=examples.xsl index.py examples.xml
noinst_PROGRAMS=info1 suspend
info1_SOURCES=info1.c
info1_LDFLAGS=
info1_DEPENDENCIES= $(DEPS)
info1_LDADD= $(LDADDS)
noinst_PROGRAMS=suspend info1
suspend_SOURCES=suspend.c
suspend_LDFLAGS=
suspend_DEPENDENCIES= $(DEPS)
suspend_LDADD= $(LDADDS)
info1_SOURCES=info1.c
info1_LDFLAGS=
info1_DEPENDENCIES= $(DEPS)
info1_LDADD= $(LDADDS)
valgrind:
$(MAKE) CHECKER='valgrind' tests
tests: $(noinst_PROGRAMS)
@(echo '## examples regression tests')
@($(CHECKER) ./info1)
@($(CHECKER) ./suspend)
@($(CHECKER) ./info1)

View File

@ -224,7 +224,7 @@ def dump_Makefile():
SUBDIRS=python
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I@srcdir@/include
DEPS = $(top_builddir)/src/libvirt.la
LDADDS = @STATIC_BINARIES@ $(top_builddir)/src/libvirt.la
LDADDS = @STATIC_BINARIES@ $(WARN_CFLAGS) $(top_builddir)/src/libvirt.la
rebuild: examples.xml index.html
@ -272,6 +272,8 @@ install-data-local:
ignore = """.memdump
Makefile.in
Makefile
.deps
.libs
"""
for example in examples:
ignore = ignore + "%s\n" % (example)