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 authored and Martin Babinsky committed 2016-11-09 13:08:32 +01:00
1 parent f95098b2b6
commit 441acf7797
8 files changed
+19 -4

No files matched your search

+6
View File
@@ -21,6 +21,12 @@ app_DATA = \
$(NULL)
EXTRA_DIST = \
doc \
jsl.conf \
less \
README-LICENSE.txt \
test \
util \
$(app_DATA) \
$(NULL)
+1 -1
View File
@@ -1,7 +1,7 @@
NULL =
appdir = $(IPA_DATA_DIR)/ui/js/freeipa
app_DATA = \
nodist_app_DATA = \
app.js \
core.js \
$(NULL)
+3 -1
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)
+4 -1
View File
@@ -7,7 +7,10 @@ SUBDIRS = \
$(NULL)
EXTRA_DIST = \
$(NULL)
build.profile.js \
dojo.profile.js \
freeipa \
webui.profile.js
MAINTAINERCLEANFILES = \
*~ \
+3 -1
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)
+2
View File
@@ -1,3 +1,5 @@
SUBDIRS = man
EXTRA_DIST = test_webui/README
include $(top_srcdir)/Makefile.python.am