Fixes test subobj5.test.
2001-05-06 Tom Tromey <tromey@redhat.com>
+ * distdir.am (distdir): Make subdirectory for each file.
+ Fixes test subobj5.test.
+
* tests/Makefile.am (TESTS): Added new file.
(XFAIL_TESTS): Likewise.
* tests/texinfo10.test: New file.
##
?CYGNUS? if test -f $$file; then d=.; else d=$(srcdir); fi; \
?!CYGNUS? d=$(srcdir); \
+## Make the subdirectory for the file. This is going to make `dist'
+## really crawl, but it seems like the only way to do it, given that
+## files in subdirectories can be specified for `dist' conditionally.
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ $(mkinstalldirs) "$(distdir)/$$dir"; \
+ fi; \
##
if test -d $$d/$$file; then \
## Don't mention $$file in destination argument, since this fails if
##
?CYGNUS? if test -f $$file; then d=.; else d=$(srcdir); fi; \
?!CYGNUS? d=$(srcdir); \
+## Make the subdirectory for the file. This is going to make `dist'
+## really crawl, but it seems like the only way to do it, given that
+## files in subdirectories can be specified for `dist' conditionally.
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ $(mkinstalldirs) "$(distdir)/$$dir"; \
+ fi; \
##
if test -d $$d/$$file; then \
## Don't mention $$file in destination argument, since this fails if