]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* Makefile.am (libnettle_a_SOURCES): Added desinfo.h and
authorNiels Möller <nisse@lysator.liu.se>
Sun, 17 Jun 2001 16:27:03 +0000 (18:27 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 17 Jun 2001 16:27:03 +0000 (18:27 +0200)
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

index 0d7227f4b94290dc1187a04cf7fb092d27392c4e..27f3d9d6d88e3e85ae74e7be6dc18840c36a2a12 100644 (file)
@@ -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