X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/6d89cbf4838083291d303ca0bccf5b024777bfae..00ae41703c606f0ea98febed8f67435f875f7e6f:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 5e859a1..0f6ad3d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# Copyright © 2019 Nick Bowler +# Copyright © 2019-2020 Nick Bowler # # Based on original work Copyright © 1999-2013 Jiri (George) Lebl. # @@ -84,6 +84,13 @@ uninstall-gob2-html: .PHONY: uninstall-gob2-html m4dir = $(datadir)/aclocal -dist_m4_DATA = gob2.m4 +m4_DATA = gob2.m4 + +gob2.m4: $(top_srcdir)/common/m4/gob2.m4 + $(AM_V_GEN) $(SED) 's/DX_PROG_GOB2/GOB2_CHECK/g' \ + $(top_srcdir)/common/m4/gob2.m4 >$@.tmp + $(AM_V_at) mv -f $@.tmp $@ +DISTCLEANFILES += gob2.m4 +EXTRA_DIST += common/m4/gob2.m4 include $(top_srcdir)/common/snippet/autotest.mk