]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(distdir): Use a loop to pick up the contents of
authorNiels Möller <nisse@lysator.liu.se>
Thu, 6 Oct 2005 18:35:55 +0000 (20:35 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 6 Oct 2005 18:35:55 +0000 (20:35 +0200)
$(DISTFILES) from source and build directories. For some reason,
$? failed to find stamp-h.in in the source directory.

Rev: src/nettle/ChangeLog:1.333
Rev: src/nettle/Makefile.in:1.23

ChangeLog
Makefile.in

index 6b3e542f4e79586215fc7a95172194487cd160b9..14a8ca909896f2d9d938f9ea44bc4cb26f6e3b2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-06  Niels Möller  <nisse@lysator.liu.se>
+
+       * Makefile.in (distdir): Use a loop to pick up the contents of
+       $(DISTFILES) from source and build directories. For some reason,
+       $? failed to find stamp-h.in in the source directory.
+
 2005-10-05  Niels Möller  <nisse@lysator.liu.se>
 
        * x86/aes-decrypt.asm: Use C_NAME(_nettle_aes_decrypt_table) when
index 5cfc94d75547f4ae86d69b55743b9eee9247a304..427e48061f6a4be840f135d2f6746632acecd2d0 100644 (file)
@@ -271,7 +271,11 @@ top_distdir = $(distdir)
 distdir: $(DISTFILES)
        rm -rf "$(distdir)"
        mkdir "$(distdir)"
-       cp $? "$(distdir)"
+       set -e; for f in $(DISTFILES) ; do \
+         if [ -e "$$f" ] ; then cp "$$f" "$(distdir)" ; \
+         else cp "$(srcdir)/$$f" "$(distdir)" ; \
+         fi ; \
+       done
        set -e; for d in sparc x86 ; do \
          mkdir "$(distdir)/$$d" ; \
          cp $(srcdir)/$$d/*.asm $(srcdir)/$$d/*.m4 "$(distdir)/$$d" ; \