diff options
author | Rory MacQueen <rorymacqueen@gmail.com> | 2013-07-19 16:47:09 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2013-07-26 17:31:33 -0700 |
commit | 5852d75773d72d75995d07b3bc87f9e744b5f1b5 (patch) | |
tree | b773ffc22679a67756505b34c9d004b79fe3e2ec /wikipedia/Makefile.am | |
parent | ae9928b88ac2bcc82921e04e8cf4df5e18be174d (diff) |
Moved wikipedia source files into sdk
Moved the wikipedia source files into the sdk repo since they will be eventually be shared by many apps
[endlessm/eos-sdk#162]
Diffstat (limited to 'wikipedia/Makefile.am')
-rw-r--r-- | wikipedia/Makefile.am | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/wikipedia/Makefile.am b/wikipedia/Makefile.am new file mode 100644 index 0000000..5cb2c94 --- /dev/null +++ b/wikipedia/Makefile.am @@ -0,0 +1,52 @@ +## Process this file with automake to produce Makefile.in + +# Copyright 2013 Endless Mobile, Inc. + +## ----------- +## Makefile.am +## ----------- +## Please keep this file well-commented. + +# Subdirectories where we also want to run make +SUBDIRS = po + +# Our Autoconf macros are kept in the m4/ directory +ACLOCAL_AMFLAGS = -I m4 + +# Generated files that 'make clean' should erase +CLEANFILES = +DISTCLEANFILES = +EXTRA_DIST = + +# # # BUILD RULES # # # + +resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/data --generate-dependencies $(srcdir)/data/endless_brazil.gresource.xml) +data/endless_brazil.gresource: data/endless_brazil.gresource.xml $(resource_files) + $(AM_V_GEN) $(MKDIR_P) $(builddir)/data && \ + $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/data $< +CLEANFILES += data/endless_brazil.gresource + +eos-brazil: Makefile + echo "gjs $(pkgdatadir)/src/endless_brazil.js" >$@ +CLEANFILES += eos-brazil + +# # # INSTALL RULES # # # + +js_sources = \ + src/endless_brazil.js \ + src/endless_wikipedia/EndlessWikipedia.js \ + src/endless_wikipedia/PrebuiltWikipediaApplication.js \ + $(NULL) +nobase_pkgdata_DATA = \ + data/endless_brazil.gresource \ + $(js_sources) \ + $(NULL) +bin_SCRIPTS = eos-brazil + +EXTRA_DIST += \ + $(js_sources) \ + $(resource_files) \ + data/endless_brazil.gresource.xml \ + $(NULL) + +# # # TESTS # # # |