2003-06-29 Miloslav Trmac <mitr@volny.cz>

* doc/Makefile.am:
	* tools/Makefile.am: Don't assume srcdir == builddir.
This commit is contained in:
Miloslav Trmac 2003-06-29 15:35:06 +00:00
parent 928d7f3cad
commit fc2743e206
3 changed files with 13 additions and 8 deletions

View file

@ -1,5 +1,8 @@
2003-06-29 Miloslav Trmac <mitr@volny.cz>
* doc/Makefile.am:
* tools/Makefile.am: Don't assume srcdir == builddir.
* dbus/dbus-memory.c (dbus_realloc): Don't check guards after shrinking
the allocated block.
(_dbus_memory_test): New function.

View file

@ -11,14 +11,16 @@ all-local: dbus-specification.html dbus-test-plan.html
endif
dbus-specification.html: dbus-specification.sgml
$(DB2HTML) -o . --nochunks dbus-specification.sgml && \
rm -r dbus-specification/stylesheet-images && \
(if test -d dbus-specification ; then rmdir dbus-specification ; fi)
$(DB2HTML) -o . --nochunks $< && \
rm -r $(srcdir)/dbus-specification/stylesheet-images && \
(if test -d $(srcdir)/dbus-specification ; then \
rmdir $(srcdir)/dbus-specification ; fi)
dbus-test-plan.html: dbus-test-plan.sgml
$(DB2HTML) -o . --nochunks dbus-test-plan.sgml && \
rm -r dbus-test-plan/stylesheet-images && \
(if test -d dbus-test-plan ; then rmdir dbus-test-plan ; fi)
$(DB2HTML) -o . --nochunks $< && \
rm -r $(srcdir)/dbus-test-plan/stylesheet-images && \
(if test -d $(srcdir)/dbus-test-plan ; then \
rmdir $(srcdir)/dbus-test-plan ; fi)
maintainer-clean-local:
rm -f dbus-test-plan.html

View file

@ -70,10 +70,10 @@ dist-hook:
for D in $(TESTDIRS); do \
test -d $(distdir)/$$D || mkdir $(distdir)/$$D || exit 1 ; \
done ; \
FILES=`$(FIND_TESTS) -o -name "*.in"` ; \
FILES=`(cd $(srcdir) && $(FIND_TESTS) -o -name "*.in" -a -not -name Makefile.in)` ; \
for F in $$FILES; do \
echo '-- Disting file '$$F ; \
cp $$F $(distdir)/$$F || exit 1 ; \
cp $(srcdir)/$$F $(distdir)/$$F || exit 1 ; \
done
## copy tests to builddir so that generated tests and static tests