]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(EXTRA_DIST): Added $(des_headers). Changed
authorNiels Möller <nisse@lysator.liu.se>
Fri, 14 Dec 2001 13:37:33 +0000 (14:37 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Fri, 14 Dec 2001 13:37:33 +0000 (14:37 +0100)
dependencies for $(des_headers) to depend only on the source file
desdata.c, not on the executable.

Rev: src/nettle/Makefile.am:1.22

Makefile.am

index 798c5da8e72a2ab84a92a2033e52fa1a47646db4..4bed6414dded1ed8a3e1e80c0f40b74c74c19e4c 100644 (file)
@@ -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 $@