| 1 |
EXTRA_DIST = gen_lists.sh \ |
| 2 |
$(top_srcdir)/webroot/js/extjs/ext-all-debug.js \ |
| 3 |
$(top_srcdir)/webroot/js/extjs/ext-all.js \ |
| 4 |
$(top_srcdir)/webroot/js/extjs/adapter/ext/ext-base-debug.js \ |
| 5 |
$(top_srcdir)/webroot/js/extjs/adapter/ext/ext-base.js |
| 6 |
|
| 7 |
GENERATED_FILES = $(top_srcdir)/webroot/js/dss/dss-setup-interface.js \ |
| 8 |
$(top_srcdir)/webroot/js/dss/dss-overview-page.js \ |
| 9 |
$(top_srcdir)/webroot/js/dss/dss-interface-module.js\ |
| 10 |
$(top_srcdir)/webroot/locale/de_DE/LC_MESSAGES/dss-langpack.json |
| 11 |
|
| 12 |
DATA_FILES = $(GENERATED_FILES) \ |
| 13 |
$(top_srcdir)/webroot/setup.html \ |
| 14 |
$(top_srcdir)/webroot/index.html |
| 15 |
|
| 16 |
include $(top_srcdir)/file.list |
| 17 |
include $(top_srcdir)/extra.list |
| 18 |
|
| 19 |
EXTRA_DIST += $(JS_SOURCE_FILES) |
| 20 |
|
| 21 |
webdir = $(pkgdatadir) |
| 22 |
nobase_dist_web_DATA = $(_DIST_FILES_WEB) |
| 23 |
|
| 24 |
dssuidir = $(pkgdatadir) |
| 25 |
nobase_nodist_dssui_DATA = $(DATA_FILES) |
| 26 |
|
| 27 |
noinst_PROGRAMS= |
| 28 |
EXTRA_PROGRAMS= |
| 29 |
|
| 30 |
if COMPILE_PO2JSON |
| 31 |
noinst_PROGRAMS+=po2json |
| 32 |
EXTRA_PROGRAMS+=po2json |
| 33 |
po2json_SOURCES=$(top_srcdir)/tools/po2json.cpp |
| 34 |
|
| 35 |
PO2JSON=$(top_srcdir)/po2json |
| 36 |
PO2JSON_DEP=po2json |
| 37 |
else |
| 38 |
PO2JSON=$(PO2JSON_TOOL) |
| 39 |
PO2JSON_DEP= |
| 40 |
endif |
| 41 |
|
| 42 |
if MINIMIZE |
| 43 |
|
| 44 |
if COMPILE_JSMIN |
| 45 |
noinst_PROGRAMS+=jsmin |
| 46 |
EXTRA_PROGRAMS+=jsmin |
| 47 |
jsmin_SOURCES=$(top_srcdir)/tools/jsmin.c |
| 48 |
|
| 49 |
JSMIN=$(top_srcdir)/jsmin |
| 50 |
DEP=jsmin |
| 51 |
else |
| 52 |
JSMIN=$(JSMIN_TOOL) |
| 53 |
DEP= |
| 54 |
endif |
| 55 |
|
| 56 |
nobase_nodist_dssui_DATA += \ |
| 57 |
$(top_srcdir)/webroot/js/extjs/adapter/ext/ext-base.js \ |
| 58 |
$(top_srcdir)/webroot/js/extjs/ext-all.js |
| 59 |
|
| 60 |
else |
| 61 |
nobase_nodist_dssui_DATA += \ |
| 62 |
$(top_srcdir)/webroot/js/extjs/adapter/ext/ext-base-debug.js \ |
| 63 |
$(top_srcdir)/webroot/js/extjs/ext-all-debug.js |
| 64 |
JSMIN=$(CAT) |
| 65 |
DEP= |
| 66 |
endif |
| 67 |
|
| 68 |
BUILT_SOURCES = $(GENERATED_FILES) |
| 69 |
|
| 70 |
CLEANFILES = $(DATA_FILES) |
| 71 |
|
| 72 |
%/LC_MESSAGES/dss-langpack.json: %/dss-installer.po $(PO2JSON_DEP) |
| 73 |
test -d "$(top_srcdir)/$(@D)" || mkdir -p "$(top_srcdir)/$(@D)" |
| 74 |
$(PO2JSON) $(top_srcdir)/$< > $(top_srcdir)/$@ |
| 75 |
|
| 76 |
dss-%.js: $(DEP) $(JS_SOURCE_FILES) |
| 77 |
$(JSUTILITY) $(JSPARAM) \ |
| 78 |
$(top_srcdir)/webroot/js/dss/dss-setup-interface/ \ |
| 79 |
$(JSPATH)$(subst dss-,,$(@F)) | \ |
| 80 |
$(JSMIN) > $(top_srcdir)/webroot/js/dss/$(@F) |
| 81 |
|
| 82 |
dist-release: |
| 83 |
$(am__remove_distdir) |
| 84 |
test -d "$(distdir)" || mkdir "$(distdir)" |
| 85 |
make install DESTDIR="$(distdir)" |
| 86 |
-test -n "$(am__skip_mode_fix)" \ |
| 87 |
|| find "$(distdir)" -type d ! -perm -755 \ |
| 88 |
-exec chmod u+rwx,go+rx {} \; -o \ |
| 89 |
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
| 90 |
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
| 91 |
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
| 92 |
|| chmod -R a+r "$(distdir)" |
| 93 |
mv $(distdir)$(pkgdatadir) $(distdir) |
| 94 |
tardir=$(distdir)/$(PACKAGE) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir)-release.tar.gz |
| 95 |
$(am__remove_distdir) |