Commit e73c64b1 authored by Vladimír Čunát's avatar Vladimír Čunát

daemon/lua/kres.lua -> *.in

parent ec4ffdb4
......@@ -46,6 +46,7 @@ _obj
/daemon/kresc
/daemon/kresd
/daemon/lua/*.inc
/daemon/lua/kres.lua
/daemon/lua/trust_anchors.lua
/daemon/lua/zonefile.lua
/tests/test_array
......
......@@ -52,7 +52,12 @@ ifneq ($(SED),)
$(INSTALL) -m 0644 doc/kresd.8 $(DESTDIR)$(MANDIR)/man8/
endif
daemon-clean: kresd-clean
@$(RM) daemon/lua/*.inc daemon/lua/trust_anchors.lua
@$(RM) daemon/lua/*.inc daemon/lua/{kres,trust_anchors,zonefile}.lua
  • @vcunat This is bashism, could you rewrite this, so it works with POSIX shells, please?

Please register or sign in to reply
KNOT_RRSET_TXT_DUMP := \
$(shell pkg-config libknot --atleast-version=2.4.0 && echo true || echo false)
daemon/lua/kres.lua: daemon/lua/kres.lua.in
@$(call quiet,SED,$<) -e "s|@KNOT_RRSET_TXT_DUMP@|$(KNOT_RRSET_TXT_DUMP)|g" $< > $@
daemon/lua/trust_anchors.lua: daemon/lua/trust_anchors.lua.in
@$(call quiet,SED,$<) -e "s|@ETCDIR@|$(ETCDIR)|g" $< > $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment