]> sourceware.org Git - automake.git/commitdiff
* lib/am/distdir.am (am__remove_distdir): Define in topdir only.
authorAlexandre Duret-Lutz <adl@gnu.org>
Wed, 7 Nov 2001 08:03:52 +0000 (08:03 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Wed, 7 Nov 2001 08:03:52 +0000 (08:03 +0000)
ChangeLog
lib/am/distdir.am

index 2950263fe77b86420a70d6494536bc3954fb353f..b684dbb0f9fe0ccea425ae2b069973f2c5bd1853 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
+
 2001-11-05  Paul Eggert  <eggert@twinsun.com>
 
        * lib/am/distdir.am (am__remove_distdir):
index 1795628d280a1571ecaac2e5b25ffa726844fc56..e519df2e45e8d7ceaacfbf98d704f5ea0ea7f7c1 100644 (file)
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-.PHONY: distdir
-
 ## DIST_COMMON comes first so that README can be the very first file.
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 top_distdir = %TOP_DISTDIR%
 if %?TOPDIR_P%
-# Avoid unsightly `./'.
+## Avoid unsightly `./'.
 ?DISTDIR?distdir = $(PACKAGE)-$(VERSION)
 else !%?TOPDIR_P%
 ?DISTDIR?distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
 endif !%?TOPDIR_P%
 
+if %?TOPDIR_P%
 am__remove_distdir = \
   { test ! -d $(distdir) \
     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
          && rm -fr $(distdir); }; }
+endif %?TOPDIR_P%
 
+.PHONY: distdir
 distdir: $(DISTFILES)
 ##
 ## For Gnits users, this is pretty handy.  Look at 15 lines
This page took 0.035072 seconds and 5 git commands to generate.