Edit

kc3-lang/automake/dist-subd.am

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1995-11-22 07:38:48
    Hash : de7f3eaa
    Message : (dist): Don't link a file that has already been linked

  • dist-subd.am
  • distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
    dist: $(DIST_FILES)
    	@for file in $(DIST_FILES); do		\
    	  test -f $(distdir)/$$file || {	\
    	    echo linking $$file;		\
    	    ln $(srcdir)/$$file $(distdir)/$$file; \
    	  } || {				\
    	    echo copying $$file instead;	\
    	    cp -p $(srcdir)/$$file $(distdir)/$$file; \
    	  };					\
    	done