Build: fix distribution of static files for web UI

Static files from Git which are not touched by the build system
have to be explicitly listed in Makefile.am so they get into tarball.

EXTRA_DIST lists whole sub-directories with static files.
This is not ideal but we do not have enough time to fix it properly.

Dojo builder patch files were renames to shorten their name.
The original names were exceeding autotools length limit.

https://fedorahosted.org/freeipa/ticket/6418

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Petr Spacek 2016-11-01 17:07:22 +01:00 committed by Martin Babinsky
parent f95098b2b6
commit 441acf7797
8 changed files with 19 additions and 4 deletions

View File

@ -21,6 +21,12 @@ app_DATA = \
$(NULL)
EXTRA_DIST = \
doc \
jsl.conf \
less \
README-LICENSE.txt \
test \
util \
$(app_DATA) \
$(NULL)

View File

@ -1,7 +1,7 @@
NULL =
appdir = $(IPA_DATA_DIR)/ui/js/freeipa
app_DATA = \
nodist_app_DATA = \
app.js \
core.js \
$(NULL)

View File

@ -4,9 +4,11 @@ appdir = $(IPA_DATA_DIR)/ui/css
app_DATA = \
bootstrap-datepicker3.min.css \
patternfly.css \
ipa.css \
$(NULL)
nodist_app_DATA = \
ipa.css
EXTRA_DIST = \
$(app_DATA) \
$(NULL)

View File

@ -7,7 +7,10 @@ SUBDIRS = \
$(NULL)
EXTRA_DIST = \
$(NULL)
build.profile.js \
dojo.profile.js \
freeipa \
webui.profile.js
MAINTAINERCLEANFILES = \
*~ \

View File

@ -9,11 +9,13 @@ app_DATA = \
jquery.js \
jquery.ordered-map.js \
json2.js \
loader.js \
patternfly.js \
qrcode.js \
$(NULL)
nodist_app_DATA = \
loader.js
EXTRA_DIST = \
$(app_DATA) \
$(NULL)

View File

@ -1,3 +1,5 @@
SUBDIRS = man
EXTRA_DIST = test_webui/README
include $(top_srcdir)/Makefile.python.am