diff options
author | Michele Calgaro <[email protected]> | 2024-05-11 21:28:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-11 21:28:48 +0900 |
commit | 2462d03f322261bd616721c2b2065c4004b36c9c (patch) | |
tree | 239947a0737bb8386703a1497f12c09aebd3080a /fbreader/macosx/Makefile | |
download | tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.tar.gz tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.zip |
Initial import (as is) from Debian Snapshot's 'fbreader' source code (https://snapshot.debian.org/package/fbreader/0.99.4%2Bdfsg-6).
The Debian code is provided under GPL2 license.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'fbreader/macosx/Makefile')
-rw-r--r-- | fbreader/macosx/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fbreader/macosx/Makefile b/fbreader/macosx/Makefile new file mode 100644 index 0000000..b06de86 --- /dev/null +++ b/fbreader/macosx/Makefile @@ -0,0 +1,20 @@ +ROOTDIR = $(CURDIR)/../.. +include $(ROOTDIR)/makefiles/config.mk + +SHARE_FBREADER = $(DESTDIR)$(SHAREDIR)/FBReader +BINARY = $(DESTDIR)$(BINDIR)/FBReader + +install: + @strip $(BINARY) + @install -m 0644 Info.plist $(DESTDIR)$(INSTALLDIR)/Contents + @install -m 0644 ../data/icons/application/FBReader.icns $(DESTDIR)$(INSTALLDIR)/Contents/Resources + @install -m 0644 ../data/default/config.macosx.xml $(SHARE_FBREADER)/default/config.xml + @install -m 0644 ../data/default/keymap.macosx.xml $(SHARE_FBREADER)/default/keymap.xml + @install -m 0644 ../data/default/styles.desktop.xml $(SHARE_FBREADER)/default/styles.xml + @$(QTBASEDIR)/bin/macdeployqt $(DESTDIR)$(INSTALLDIR) + @for fw in QtDeclarative QtScript QtSql QtSvg QtXmlPatterns; do \ + rm -rf $(DESTDIR)$(INSTALLDIR)/Contents/Frameworks/$$fw.framework; \ + done + @for plugin in accessible codecs bearer graphicssystems qmltooling; do \ + rm -rf $(DESTDIR)$(INSTALLDIR)/Contents/PlugIns/$$plugin; \ + done |