Remove some auto-generated files

Removes some auto-generated files still under version control.
It also moves the rule for generating NEWS into the Makefile.am
that's in the same directory as the output file to avoid confusion

* docs/libvirt-api.xml, docs/libvirt-refs.xml, NEWS: Remove
  auto-generated files from source control
* Makefile.am: Add rule for generating NEWS file
* docs/Makefile.am: Remove rule for generating NEWS file
This commit is contained in:
Daniel P. Berrange 2009-10-07 11:15:45 +01:00
parent fae0da5c13
commit 35b5f84c50
7 changed files with 13 additions and 12950 deletions

1
.gitignore vendored
View File

@ -44,3 +44,4 @@ gnulib/
*#*#
*.#*#
ChangeLog
NEWS

View File

@ -31,6 +31,15 @@ EXTRA_DIST = \
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libvirt.pc
NEWS: $(top_srcdir)/docs/news.xsl $(top_srcdir)/docs/news.html.in
-@(if [ -x $(XSLTPROC) ] ; then \
$(XSLTPROC) --nonet $(top_srcdir)/docs/news.xsl \
$(top_srcdir)/docs/news.html.in \
| perl -0777 -pe 's/\n\n+$$/\n/' \
| perl -pe 's/[ \t]+$$//' \
> $@-t && mv $@-t $@ ; fi );
rpm: clean
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)

1620
NEWS

File diff suppressed because it is too large Load Diff

2
docs/.gitignore vendored
View File

@ -3,3 +3,5 @@ Makefile.in
.memdump
apibuild.pyc
*.html
libvirt-api.xml
libvirt-refs.xml

View File

@ -80,7 +80,7 @@ EXTRA_DIST= \
CLEANFILES = $(dot_html) $(apihtml) $(devhelphtml)
all: web $(top_builddir)/NEWS
all: web
api: libvirt-api.xml libvirt-refs.xml
@ -133,14 +133,6 @@ libvirt-api.xml libvirt-refs.xml: apibuild.py \
$(srcdir)/../src/libvirt.c $(srcdir)/../src/util/virterror.c
-(./apibuild.py)
$(top_builddir)/NEWS: $(top_srcdir)/docs/news.xsl $(top_srcdir)/docs/news.html.in
-@(if [ -x $(XSLTPROC) ] ; then \
$(XSLTPROC) --nonet $(top_srcdir)/docs/news.xsl \
$(top_srcdir)/docs/news.html.in \
| perl -0777 -pe 's/\n\n+$$/\n/' \
| perl -pe 's/[ \t]+$$//' \
> $@-t && mv $@-t $@ ; fi );
clean-local:
rm -f *~ *.bak *.hierarchy *.signals *-unused.txt

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff