]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fixes for make dist target.
authorNiels Möller <nisse@lysator.liu.se>
Sun, 21 Apr 2013 19:41:26 +0000 (21:41 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 21 Apr 2013 19:41:26 +0000 (21:41 +0200)
ChangeLog
Makefile.in

index 7b54874e4a0eaec1c0c868961fe16efe9170aba6..9df9b8c8ccfc5133617287f0dca826e4af379c74 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-21  Niels Möller  <nisse@lysator.liu.se>
+
+       * Makefile.in (DISTFILES): Added mini-gmp.c and mini-gmp.h.
+       (distdir): Use find, for identifying assembly files to copy.
+
 2013-04-18  Niels Möller  <nisse@lysator.liu.se>
 
        * configure.ac: Recognize cpu type "arm*", not just "armv7*'.
index 60abae96e861b3ae3eb0a3063601c651c2b6be56..c96e3a3640181e89252a958c1ddc54409a961c65 100644 (file)
@@ -175,7 +175,7 @@ DISTFILES = $(SOURCES) $(HEADERS) getopt.h .bootstrap run-tests \
        cast128_sboxes.h desinfo.h desCode.h \
        nettle-internal.h nettle-write.h prime-list.h \
        gmp-glue.h ecc-internal.h \
-       asm.m4 \
+       mini-gmp.h mini-gmp.c asm.m4 \
        nettle.texinfo nettle.info nettle.html nettle.pdf sha-example.c
 
 # Rules building static libraries
@@ -518,7 +518,8 @@ distdir: $(DISTFILES)
        done
        set -e; for d in sparc32 sparc64 x86 x86_64 arm arm/neon ; do \
          mkdir "$(distdir)/$$d" ; \
-         cp $(srcdir)/$$d/*.asm $(srcdir)/$$d/*.m4 "$(distdir)/$$d" ; \
+         find "$(srcdir)/$$d" -maxdepth 1 '(' -name '*.asm' -o -name '*.m4' ')' \
+           -exec cp '{}' "$(distdir)/$$d" ';' ; \
        done
        set -e; for d in $(SUBDIRS); do \
          sd="$(distdir)/$$d" ; \