Files
freeipa/install/ui/src/libs/Makefile.am
T
Petr Spacek 89739a6c91 Build: properly integrate loader.js into build system
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>
2016-11-29 15:28:24 +01:00

31 lines
590 B
Makefile

NULL =
appdir = $(IPA_DATA_DIR)/ui/js/libs
app_DATA = \
bootstrap.js \
bootstrap-datepicker.js \
browser.js \
d3.js \
jquery.js \
jquery.ordered-map.js \
json2.js \
patternfly.js \
qrcode.js \
$(NULL)
nodist_app_DATA = \
loader.js
dist_noinst_DATA = \
loader.js.in
EXTRA_DIST = \
$(app_DATA) \
$(NULL)
loader.js: loader.js.in $(top_builddir)/$(CONFIG_STATUS)
$(AM_V_GEN)sed \
-e 's|@API_VERSION[@]|$(API_VERSION)|g' \
-e 's|@NUM_VERSION[@]|$(NUM_VERSION)|g' \
$< > $@