From 9d37131d6d75d9c19c06e4a49475af9cd1d19d30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sun, 17 Jun 2001 18:27:03 +0200
Subject: [PATCH] * Makefile.am (libnettle_a_SOURCES): Added desinfo.h and
 desCode.h. (info_TEXINFOS): Added manual. (EXTRA_DIST): Added nettle.html.
 (%.html): Added rule for building nettle.html.

Rev: src/nettle/Makefile.am:1.9
---
 Makefile.am | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0d7227f4..27f3d9d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,16 +10,26 @@ libnettleinclude_HEADERS = aes.h arcfour.h des.h md5.h sha1.h
 libnettle_a_SOURCES = aes.c aes.h arcfour.c arcfour.h \
 		      cast128.c cast128.h cast128_sboxes.h \
 		      blowfish.h blowfish.c \
-		      des.c des.h \
+		      des.c des.h desinfo.h desCode.h \
 		      md5.c md5.h sha1.c sha1.h \
 		      serpent.c serpent.h serpent_sboxes.h \
 		      twofish.c twofish.h
 
 libnettle_a_LIBADD = @LIBOBJS@
 
-EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README
+info_TEXINFOS = nettle.texinfo
+
+all-local: nettle.html
+
+EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README nettle.html
+
 # BUILT_SOURCE = $(des_headers)
 
+%.html : %.texinfo
+	(cd $(srcdir) \
+	 && $(MAKEINFO) --html --no-split --output $@T $(<F) \
+	 ; test -s $@T && mv -f $@T $@)
+
 # desCore rules
 des_headers = $(srcdir)/parity.h $(srcdir)/rotors.h $(srcdir)/keymap.h 
 
-- 
GitLab