From ea88fea73260424a1724a6ef5ecb0aa5dce68ba7 Mon Sep 17 00:00:00 2001 From: william Date: Thu, 27 Mar 2014 22:57:09 -0700 Subject: rename pubkey.lua to pkey.lua and create symlink on install for backward compatability --- src/GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/GNUmakefile') diff --git a/src/GNUmakefile b/src/GNUmakefile index 295eb89..76f045b 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -81,6 +81,7 @@ LUAC$(1)_$(d) = $$(or $$(call LUAPATH_$(d), $(1), luac), true) MODS$(1)_$(d) = \ $$(DESTDIR)$(2)/_openssl.so \ $$(DESTDIR)$(3)/openssl/bignum.lua \ + $$(DESTDIR)$(3)/openssl/pkey.lua \ $$(DESTDIR)$(3)/openssl/pubkey.lua \ $$(DESTDIR)$(3)/openssl/x509.lua \ $$(DESTDIR)$(3)/openssl/x509/name.lua \ @@ -105,6 +106,9 @@ $$(DESTDIR)$(3)/openssl/%.lua: $$(d)/openssl.%.lua $$(MKDIR) -p $$(@D) $$(CP) -p $$< $$@ +$$(DESTDIR)$(3)/openssl/pubkey.lua: $$(DESTDIR)$(3)/openssl/pkey.lua + cd $$(@D) && $(LN_S) -f $$(