[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
distdir-cosmetic.patch
From: |
Alexandre Duret-Lutz |
Subject: |
distdir-cosmetic.patch |
Date: |
06 Nov 2001 22:27:00 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Index: ChangeLog
--- ChangeLog
+++ ChangeLog
@@ -1,1 +1,5 @@
+2001-11-06 Alexandre Duret-Lutz <address@hidden>
+
+ * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
+
Index: lib/am/distdir.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/distdir.am,v
retrieving revision 1.24
diff -u -r1.24 distdir.am
--- lib/am/distdir.am 2001/11/05 19:52:57 1.24
+++ lib/am/distdir.am 2001/11/06 21:24:15
@@ -16,24 +16,25 @@
## 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
--
Alexandre Duret-Lutz
- distdir-cosmetic.patch,
Alexandre Duret-Lutz <=