Commit 728960b9 authored by Niels Möller's avatar Niels Möller
Browse files

Fixes for make dist target.

parent b58a69c8
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> 2013-04-18 Niels Möller <nisse@lysator.liu.se>
* configure.ac: Recognize cpu type "arm*", not just "armv7*'. * configure.ac: Recognize cpu type "arm*", not just "armv7*'.
......
...@@ -175,7 +175,7 @@ DISTFILES = $(SOURCES) $(HEADERS) getopt.h .bootstrap run-tests \ ...@@ -175,7 +175,7 @@ DISTFILES = $(SOURCES) $(HEADERS) getopt.h .bootstrap run-tests \
cast128_sboxes.h desinfo.h desCode.h \ cast128_sboxes.h desinfo.h desCode.h \
nettle-internal.h nettle-write.h prime-list.h \ nettle-internal.h nettle-write.h prime-list.h \
gmp-glue.h ecc-internal.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 nettle.texinfo nettle.info nettle.html nettle.pdf sha-example.c
# Rules building static libraries # Rules building static libraries
...@@ -518,7 +518,8 @@ distdir: $(DISTFILES) ...@@ -518,7 +518,8 @@ distdir: $(DISTFILES)
done done
set -e; for d in sparc32 sparc64 x86 x86_64 arm arm/neon ; do \ set -e; for d in sparc32 sparc64 x86 x86_64 arm arm/neon ; do \
mkdir "$(distdir)/$$d" ; \ 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 done
set -e; for d in $(SUBDIRS); do \ set -e; for d in $(SUBDIRS); do \
sd="$(distdir)/$$d" ; \ sd="$(distdir)/$$d" ; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment