File: no_copy_binary.patch

package info (click to toggle)
wp2latex 4.15~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,596 kB
  • sloc: cpp: 62,508; ansic: 10,626; asm: 6,974; makefile: 598; sh: 24
file content (24 lines) | stat: -rw-r--r-- 963 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
Description: Do not copy binaries after build.
Origin: Hilmar Preusse <hille42@web.de>
Forwarded: Not needed. Patch is specific to Debian.
Author: Hilmar Preusse <hille42@web.de>
Last-Update: 20211107

--- wp2latex-4.10.orig/sources.cc/makefile.in
+++ wp2latex-4.10/sources.cc/makefile.in
@@ -170,11 +170,11 @@
 	@CXX@ $*$(OBJ) $(LIBS) $(ERROR)
 
 
-$(TARGET_NAME): $(OBJECTS) atoms/libatoms.a | $(TARGET_DIR)
+$(TARGET_NAME): $(OBJECTS) atoms/libatoms.a
 	@CXX@ @GETTEXT@ -o $(TARGET_NAME) $(OBJECTS) atoms/libatoms.a $(LIBS) $(LDFLAGS) $(ERROR)
-	cp ./$(TARGET_NAME) $(TARGET_DIR)
-	@STRIP@ $(TARGET_DIR)$(TARGET_NAME)
-	@echo BINARY STORED IN $(TARGET_DIR)$(TARGET_NAME)
+	#cp ./$(TARGET_NAME) $(TARGET_DIR)
+	#@STRIP@ $(TARGET_DIR)$(TARGET_NAME)
+	#@echo BINARY STORED IN $(TARGET_DIR)$(TARGET_NAME)
 
 static: $(OBJECTS) atoms/libatoms.a | $(TARGET_DIR)
 	@CXX@ @GETTEXT@ -o $(TARGET_NAME) $(OBJECTS) atoms/libatoms.a $(LIBS) $(ERROR) -static