summaryrefslogtreecommitdiffstats
path: root/debian/patches/0009-fbreader-Makefile-do-not-try-to-install-empty-format.patch
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-11 21:28:48 +0900
committerMichele Calgaro <[email protected]>2024-05-11 21:28:48 +0900
commit2462d03f322261bd616721c2b2065c4004b36c9c (patch)
tree239947a0737bb8386703a1497f12c09aebd3080a /debian/patches/0009-fbreader-Makefile-do-not-try-to-install-empty-format.patch
downloadtde-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 'debian/patches/0009-fbreader-Makefile-do-not-try-to-install-empty-format.patch')
-rw-r--r--debian/patches/0009-fbreader-Makefile-do-not-try-to-install-empty-format.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0009-fbreader-Makefile-do-not-try-to-install-empty-format.patch b/debian/patches/0009-fbreader-Makefile-do-not-try-to-install-empty-format.patch
new file mode 100644
index 0000000..dfa51c7
--- /dev/null
+++ b/debian/patches/0009-fbreader-Makefile-do-not-try-to-install-empty-format.patch
@@ -0,0 +1,22 @@
+From: "Eugene V. Lyubimkin" <[email protected]>
+Date: Sat, 20 Feb 2016 18:23:10 +0100
+Subject: fbreader: Makefile: do not try to install empty formats/xhtml
+ directory
+
+---
+ fbreader/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/fbreader/Makefile b/fbreader/Makefile
+index 6efc10b..ba247b7 100644
+--- a/fbreader/Makefile
++++ b/fbreader/Makefile
+@@ -44,8 +44,6 @@ do_install:
+ @./scripts/install_help.sh $(VARIANT) $(FBSHAREDIR)/help
+ @install -d $(FBSHAREDIR)/formats/html
+ @install -m 0644 data/formats/html/html.ent $(FBSHAREDIR)/formats/html
+- @install -d $(FBSHAREDIR)/formats/xhtml
+- @install -m 0644 $(wildcard data/formats/xhtml/*.ent) $(FBSHAREDIR)/formats/xhtml
+ @install -d $(FBSHAREDIR)/formats/fb2
+ @sed "s/VERSION/$(VERSION)/" data/formats/fb2/FBReaderVersion.ent > $(FBSHAREDIR)/formats/fb2/FBReaderVersion.ent
+ @install -m 0644 data/formats/fb2/fb2genres.xml $(FBSHAREDIR)/formats/fb2