Browse Source

Cosmetic changes to the output of "make dist"

master
Hampa Hug 9 years ago
parent
commit
a39b8efec4
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Makefile.in

+ 5
- 5
Makefile.in View File

@@ -176,13 +176,13 @@ endif
176 176
 
177 177
 dist-contrib:
178 178
 	$(QR)if test -d "$(srcdir)/contrib" ; then \
179
-		( cd "$(srcdir)/contrib" && find . -type f -print ) |\
179
+		( cd "$(srcdir)" && find contrib/ -type f -print ) |\
180 180
 		while read src ; do \
181
-			test -f "$(distdir)/contrib/$$src" && continue ; \
181
+			test -f "$(distdir)/$$src" && continue ; \
182 182
 			test x$(V) != x1 && echo "  CP     $$src" ; \
183
-			dir=`dirname "$(distdir)/contrib/$$src"` ; \
184
-			mkdir -p "$$dir" ; \
185
-			cp -p "$(srcdir)/contrib/$$src" "$$dir" ; \
183
+			dir=`dirname "$(distdir)/$$src"` ; \
184
+			test -d "$$dir" || mkdir -p "$$dir" ; \
185
+			cp -p "$(srcdir)/$$src" "$$dir" ; \
186 186
 		done ; \
187 187
 	fi
188 188
 

Loading…
Cancel
Save