From 28b2c08f60f54a78596746e204f4d0092587a09a Mon Sep 17 00:00:00 2001 From: rootavish Date: Sun, 18 May 2014 21:57:45 +0530 Subject: adding epub support : created Makefiles,modified configuration script kickoff commit to add ePub support , creating a subdirectory structure and modified makefiles and configure script to accomodate for ePub . As the sources are done , these will be further changed accordingly . --- backend/epub/Makefile.am | 30 ++++++++++++++++++++++++++++++ backend/epub/epubdocument.atril-backend.in | 4 ++++ 2 files changed, 34 insertions(+) create mode 100644 backend/epub/Makefile.am create mode 100644 backend/epub/epubdocument.atril-backend.in (limited to 'backend/epub') diff --git a/backend/epub/Makefile.am b/backend/epub/Makefile.am new file mode 100644 index 00000000..6ecbdb2a --- /dev/null +++ b/backend/epub/Makefile.am @@ -0,0 +1,30 @@ +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/libdocument \ + -DMATELOCALEDIR=\"$(datadir)/locale\" \ + -DATRIL_COMPILATION \ + $(BACKEND_CFLAGS) \ + $(WARN_CXXFLAGS) \ + $(DISABLE_DEPRECATED) + +backend_LTLIBRARIES = libepubdocument.la + +libepubdocument_la_SOURCES = + + +libepubdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS) +libepubdocument_la_LIBADD = \ + $(top_builddir)/libdocument/libatrildocument.la \ + $(BACKEND_LIBS) + + +backend_in_files = epubdocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) + +EXTRA_DIST = $(backend_in_files) + +CLEANFILES = $(backend_DATA) + +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ + +-include $(top_srcdir)/git.mk diff --git a/backend/epub/epubdocument.atril-backend.in b/backend/epub/epubdocument.atril-backend.in new file mode 100644 index 00000000..fe97354b --- /dev/null +++ b/backend/epub/epubdocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=epubdocument +_TypeDescription=ePub Documents +MimeType=application/epub+zip; -- cgit v1.2.1