From 9c22af9f454842b85f562d1210be0ee100fb38d8 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Thu, 19 Aug 1999 20:17:51 +0000 Subject: Have 'make dist' work with builddir != srcdir. Have 'make dist' work with builddir != srcdir. svn path=/trunk/; revision=883 --- intl/Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/intl/Makefile.in b/intl/Makefile.in index 8adfd19..a7a145a 100644 --- a/intl/Makefile.in +++ b/intl/Makefile.in @@ -180,7 +180,7 @@ maintainer-clean: distclean # GNU gettext needs not contain the file `VERSION' but contains some # other files which should not be distributed in other packages. -distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: Makefile $(DISTFILES) if test "$(PACKAGE)" = gettext; then \ additional="$(DISTFILES.gettext)"; \ @@ -195,8 +195,8 @@ dist distdir: Makefile $(DISTFILES) distcopy: Makefile $(DISTFILES) additional="$(DISTFILES.normal)"; for file in $(DISTFILES.common) $$additional; do \ - ln $(srcdir)/$$file ../$(distdir) 2> /dev/null \ - || cp -p $(srcdir)/$$file ../$(distdir); \ + ln $(srcdir)/$$file $(distdir) 2> /dev/null \ + || cp -p $(srcdir)/$$file $(distdir); \ done dist-libc: -- cgit v1.2.1