From: Niels Möller Date: Sun, 21 Apr 2013 19:41:26 +0000 (+0200) Subject: Fixes for make dist target. X-Git-Tag: nettle_2.7_release_20130424~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728960b97b8d9d592418aef3f490da37ac2d57bc;p=thirdparty%2Fnettle.git Fixes for make dist target. --- diff --git a/ChangeLog b/ChangeLog index 7b54874e..9df9b8c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-04-21 Niels Möller + + * 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 * configure.ac: Recognize cpu type "arm*", not just "armv7*'. diff --git a/Makefile.in b/Makefile.in index 60abae96..c96e3a36 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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" ; \