File: no-strip-during-install

package info (click to toggle)
ebook2cw 0.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: ansic: 2,009; makefile: 68
file content (44 lines) | stat: -rw-r--r-- 2,164 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Description: Fix FTCBFS: Don't strip during make install.
Author: Helmut Grohne <helmut@subdivi.de>

--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@
 USE_LAME?=YES
 USE_OGG?=YES
 
+INSTALL?=install
 CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(ROOT_DESTDIR)\" -D VERSION=\"$(VERSION)\"
 
 ifeq ($(USE_LAME), YES)
@@ -41,18 +42,18 @@
 	$(CC) -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw
 
 install:
-	install -d -v                      $(DESTDIR)/share/man/man1/
-	install -d -v                      $(DESTDIR)/bin/
-	install -d -v                      $(DESTDIR)/share/doc/ebook2cw/
-	install -d -v                      $(DESTDIR)/share/doc/ebook2cw/examples/
-	install -d -v                      $(DESTDIR)/share/locale/de/LC_MESSAGES/
-	install -s -m 0755 ebook2cw        $(DESTDIR)/bin/
-	install    -m 0644 ebook2cw.1      $(DESTDIR)/share/man/man1/
-	install    -m 0644 README          $(DESTDIR)/share/doc/ebook2cw/
-	install    -m 0644 ebook2cw.conf   $(DESTDIR)/share/doc/ebook2cw/examples/
-	install    -m 0644 isomap.txt      $(DESTDIR)/share/doc/ebook2cw/examples/
-	install    -m 0644 utf8map.txt     $(DESTDIR)/share/doc/ebook2cw/examples/
-	install    -m 0644 po/de.mo        $(DESTDIR)/share/locale/de/LC_MESSAGES/ebook2cw.mo
+	$(INSTALL) -d -v                      $(DESTDIR)/share/man/man1/
+	$(INSTALL) -d -v                      $(DESTDIR)/bin/
+	$(INSTALL) -d -v                      $(DESTDIR)/share/doc/ebook2cw/
+	$(INSTALL) -d -v                      $(DESTDIR)/share/doc/ebook2cw/examples/
+	$(INSTALL) -d -v                      $(DESTDIR)/share/locale/de/LC_MESSAGES/
+	$(INSTALL) -s -m 0755 ebook2cw        $(DESTDIR)/bin/
+	$(INSTALL)    -m 0644 ebook2cw.1      $(DESTDIR)/share/man/man1/
+	$(INSTALL)    -m 0644 README          $(DESTDIR)/share/doc/ebook2cw/
+	$(INSTALL)    -m 0644 ebook2cw.conf   $(DESTDIR)/share/doc/ebook2cw/examples/
+	$(INSTALL)    -m 0644 isomap.txt      $(DESTDIR)/share/doc/ebook2cw/examples/
+	$(INSTALL)    -m 0644 utf8map.txt     $(DESTDIR)/share/doc/ebook2cw/examples/
+	$(INSTALL)    -m 0644 po/de.mo        $(DESTDIR)/share/locale/de/LC_MESSAGES/ebook2cw.mo
 	
 uninstall:
 	rm -f $(DESTDIR)/bin/ebook2cw