~ubuntu-branches/ubuntu/vivid/fbreader/vivid-proposed

« back to all changes in this revision

Viewing changes to fbreader/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2008-01-23 16:51:07 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123165107-5q19etahzd72c33a
Tags: 0.8.12-3
* Add libzlui-maemo which allows using fbreader on the maemo platform, on
  Debian. Thanks, Riku Voipio. Closes: #462299
* makefiles/arch/maemo.mk: Don't build with -thumb. (Riku)
* Loosen dependency versions some more, so it only depends on the current
  upstream version or higher, ignoring the Debian revision.
* Use binary:Version instead of deprecated Source-Version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
TARGET = FBReader
8
8
target = fbreader
9
9
 
10
 
ALL_SUBDIRS = src src/description src/collection src/bookmodel src/formats src/formats/fb2 src/formats/docbook src/formats/html src/formats/pdb src/formats/txt src/formats/tcr src/formats/chm src/formats/oeb src/formats/rtf src/formats/openreader src/formats/dummy src/formats/util src/external src/optionsDialog src/fbreader src/encodingOption
 
10
ALL_SUBDIRS = src src/migration src/options src/description src/collection src/bookmodel src/formats src/formats/fb2 src/formats/docbook src/formats/html src/formats/pdb src/formats/txt src/formats/tcr src/formats/chm src/formats/xhtml src/formats/oeb src/formats/rtf src/formats/openreader src/formats/dummy src/formats/util src/external src/optionsDialog src/fbreader src/encodingOption
11
11
ALL_ARCHSUBDIRS = desktop pdaxrom opie zaurus maemo openzaurus pma400 win32
12
12
 
13
 
SUBDIRS = src src/description src/collection src/bookmodel src/formats src/formats/fb2 src/formats/html src/formats/pdb src/formats/txt src/formats/tcr src/formats/chm src/formats/oeb src/formats/rtf src/formats/openreader src/formats/util src/external src/optionsDialog src/fbreader src/encodingOption
 
13
SUBDIRS = src/migration src/options src/description src/collection src/bookmodel src/formats src/formats/fb2 src/formats/html src/formats/pdb src/formats/txt src/formats/tcr src/formats/chm src/formats/xhtml src/formats/oeb src/formats/rtf src/formats/openreader src/formats/util src/external src/optionsDialog src/fbreader src/encodingOption
14
14
 
15
15
all: .resources
16
16
        @for subdir in $(SUBDIRS); do \
35
35
        @install $(TARGET) $(DESTDIR)$(BINDIR)/FBReader
36
36
        @install -d $(FBSHAREDIR)
37
37
        @install -d $(FBSHAREDIR)/help
38
 
        @install -m 0644 data/help/MiniHelp.$(VARIANT).en.fb2 $(FBSHAREDIR)/help/MiniHelp.en.fb2
39
 
        @install -m 0644 data/help/MiniHelp.$(VARIANT).fi.fb2 $(FBSHAREDIR)/help/MiniHelp.fi.fb2
40
 
        @install -m 0644 data/help/MiniHelp.$(VARIANT).fr.fb2 $(FBSHAREDIR)/help/MiniHelp.fr.fb2
41
 
        @install -m 0644 data/help/MiniHelp.$(VARIANT).ru.fb2 $(FBSHAREDIR)/help/MiniHelp.ru.fb2
42
 
        @install -m 0644 data/help/MiniHelp.$(VARIANT).uk.fb2 $(FBSHAREDIR)/help/MiniHelp.uk.fb2
 
38
        @./scripts/install_help.sh $(VARIANT) $(FBSHAREDIR)/help
43
39
        @install -d $(FBSHAREDIR)/formats/html
44
40
        @install -m 0644 data/formats/html/html.ent $(FBSHAREDIR)/formats/html
45
41
        @install -d $(FBSHAREDIR)/formats/xhtml
46
42
        @install -m 0644 $(wildcard data/formats/xhtml/*.ent) $(FBSHAREDIR)/formats/xhtml
47
43
        @install -d $(FBSHAREDIR)/default
 
44
        @./scripts/install_toolbar_and_menu.sh $(VARIANT) $(FBSHAREDIR)/default
48
45
        @install -m 0644 data/default/external.$(TARGET_ARCH).xml $(FBSHAREDIR)/default/external.xml
49
46
        @if [ -f data/default/messages.$(TARGET_ARCH).xml ]; then \
50
47
                install -m 0644 data/default/messages.$(TARGET_ARCH).xml $(FBSHAREDIR)/default/messages.xml; \