automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why creating local dirs when disting?


From: Akim Demaille
Subject: Why creating local dirs when disting?
Date: 21 Feb 2001 10:38:09 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

I don't understand this:

~/src/am % make -s check TESTS=distdir.test                      nostromo Err 2
Making check in .
Making check in m4
Making check in tests
PASS: distdir.test
==================
All 1 tests passed
==================
~/src/am % grep -C10 'mkinstall.*foo' tests/testSubDir/Makefile.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = .
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)

GZIP_ENV = --best

distdir: $(DISTFILES)
        -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
        mkdir $(distdir)
        $(mkinstalldirs) $(distdir)/foo foo <<<<<<<<<<<<<<<========
        @for file in $(DISTFILES); do \
          d=$(srcdir); \
          if test -d $$d/$$file; then \
            cp -pR $$d/$$file $(distdir) \
            || exit 1; \
          else \
            test -f $(distdir)/$$file \
            || cp -p $$d/$$file $(distdir)/$$file \
            || exit 1; \
          fi; \
~/src/am % cat tests/testSubDir/Makefile.am                      nostromo 10:36
EXTRA_DIST = foo/bar ./joe

What is this second foo doing here?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]