Skip to content
Snippets Groups Projects
Commit 8e1cd766 authored by Niels Möller's avatar Niels Möller
Browse files

(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.

Rev: src/nettle/ChangeLog:1.333
Rev: src/nettle/Makefile.in:1.23
parent 0de861a0
No related branches found
No related tags found
No related merge requests found
2005-10-06 Niels Mller <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 Mller <nisse@lysator.liu.se>
* x86/aes-decrypt.asm: Use C_NAME(_nettle_aes_decrypt_table) when
......
......@@ -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" ; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment