Commit 041f1c56 authored by Niels Möller's avatar Niels Möller

(EXTRA_DIST): Added $(des_headers). Changed

dependencies for $(des_headers) to depend only on the source file
desdata.c, not on the executable.

Rev: src/nettle/Makefile.am:1.22
parent 8196a1a7
......@@ -35,7 +35,8 @@ info_TEXINFOS = nettle.texinfo
all-local: nettle.html
EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README nettle.html .bootstrap
EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README nettle.html \
.bootstrap $(des_headers)
# BUILT_SOURCE = $(des_headers)
......@@ -50,7 +51,8 @@ EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README nettle.html .bootst
des_headers = parity.h rotors.h keymap.h
# Generate DES headers.
$(des_headers): desdata
$(des_headers): desdata.c
$(MAKE) desdata
./desdata $(@F) > $@T
test -s $@T && mv -f $@T $@
......
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