diff options
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r-- | src/GNUmakefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile index 74a19fe..3fe2f65 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile | |||
@@ -123,8 +123,15 @@ $$(DESTDIR)$(3)/openssl/%.lua: $$(d)/openssl.%.lua | |||
123 | $$(MKDIR) -p $$(@D) | 123 | $$(MKDIR) -p $$(@D) |
124 | $$(CP) -p $$< $$@ | 124 | $$(CP) -p $$< $$@ |
125 | 125 | ||
126 | $$(DESTDIR)$(3)/openssl/pubkey.lua: $$(DESTDIR)$(3)/openssl/pkey.lua | 126 | # pubkey.lua used to be symbolic link to pkey.lua, but that caused packaging |
127 | cd $$(@D) && $(LN_S) -f $$(<F) $$(@F) | 127 | # headaches. Now it's a stub, but the cp -p in the inference rule will copy |
128 | # to the target of the symbolic link, so we need a special install rule to | ||
129 | # clean up the mess. | ||
130 | $$(DESTDIR)$(3)/openssl/pubkey.lua: $$(d)/openssl.pubkey.lua | ||
131 | $$(LUAC$(1)_$(d)) -p $$< | ||
132 | $$(MKDIR) -p $$(@D) | ||
133 | $$(RM) -f $$@ | ||
134 | $$(CP) -p $$< $$@ | ||
128 | 135 | ||
129 | $$(DESTDIR)$(3)/openssl/x509/%.lua: $$(d)/openssl.x509.%.lua | 136 | $$(DESTDIR)$(3)/openssl/x509/%.lua: $$(d)/openssl.x509.%.lua |
130 | $$(LUAC$(1)_$(d)) -p $$< | 137 | $$(LUAC$(1)_$(d)) -p $$< |