mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-30 16:18:02 -05:00
AC_CONFIG_FILES in configure.ac works well only with Makefiles. Other files have to be handled by Makefile.am so depedencies are tracked properly. https://fedorahosted.org/freeipa/ticket/6498 Reviewed-By: Martin Basti <mbasti@redhat.com>
15 lines
383 B
Makefile
15 lines
383 B
Makefile
include $(top_srcdir)/Makefile.python.am
|
|
|
|
EXTRA_DIST = version.py.in
|
|
|
|
all-local: version.py
|
|
dist-hook: version.py
|
|
|
|
version.py: version.py.in $(top_builddir)/$(CONFIG_STATUS)
|
|
$(AM_V_GEN)sed \
|
|
-e 's|@API_VERSION[@]|$(API_VERSION)|g' \
|
|
-e 's|@NUM_VERSION[@]|$(NUM_VERSION)|g' \
|
|
-e 's|@VERSION[@]|$(VERSION)|g' \
|
|
-e 's|@VENDOR_SUFFIX[@]|$(VENDOR_SUFFIX)|g' \
|
|
$< > $@
|