]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Makefile: remove 'scripts' duplicate from DIST_SUBDIRS
authorDaniel Stenberg <daniel@haxx.se>
Fri, 2 Aug 2024 07:49:31 +0000 (09:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 2 Aug 2024 21:05:41 +0000 (23:05 +0200)
Also fix the .dist replacing by avoiding all Makefiles because it
otherwise also went into the temporary release folder and got confused
about the Makefile.dist in there.

Makefile.am

index 74441402d81b744281829e1e7b3574faa24fcfa8..c0c0778a5d368ea6dcacc8ea9125608aa4afcc52 100644 (file)
@@ -88,7 +88,7 @@ CLEANFILES = $(VC14_LIBVCXPROJ) $(VC14_SRCVCXPROJ) \
 bin_SCRIPTS = curl-config
 
 SUBDIRS = lib docs src scripts
-DIST_SUBDIRS = $(SUBDIRS) tests packages scripts include docs
+DIST_SUBDIRS = $(SUBDIRS) tests packages include docs
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libcurl.pc
@@ -102,7 +102,7 @@ include src/Makefile.inc
 dist-hook:
        rm -rf $(top_builddir)/tests/log
        find $(distdir) -name "*.dist" -a \! -name Makefile.dist -exec rm {} \;
-       (distit=`find $(srcdir) -name "*.dist"`; \
+       (distit=`find $(srcdir) -name "*.dist" | grep -v Makefile`; \
        for file in $$distit; do \
          strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
          cp -p $$file $(distdir)$$strip; \