]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
2003-06-29 Miloslav Trmac <mitr@volny.cz>
authorMiloslav Trmac <mitr@volny.cz>
Sun, 29 Jun 2003 15:35:06 +0000 (15:35 +0000)
committerMiloslav Trmac <mitr@volny.cz>
Sun, 29 Jun 2003 15:35:06 +0000 (15:35 +0000)
* doc/Makefile.am:
* tools/Makefile.am: Don't assume srcdir == builddir.

ChangeLog
doc/Makefile.am
test/Makefile.am

index 55b09ed30fc8e27b9877c4c423629078a902f67f..9846b24a82c213bf5029d3251dc90e02f74c415c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index da1d011ae29fd5d2349fa924b33fbf0ae268a8d7..891c02099ed1dd35665077a866159d0681113b85 100644 (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
index 227f0dba5b31f6b2b5ef1330bf8c1c46e90512dd..04df3510ced804cb5d4b359d0482164a6745433a 100644 (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