File: install-so-link

package info (click to toggle)
ogdi-dfsg 4.1.0%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,196 kB
  • sloc: ansic: 53,755; makefile: 376; sh: 190; perl: 162; tcl: 38
file content (25 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (3)
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
Description: Fix install-so-link target.
 Disable mv commands, source and destination are the same file.
 Disable ln command, symlink already created in default-install target.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed

--- a/config/common.mak.in
+++ b/config/common.mak.in
@@ -258,11 +258,11 @@ default-install:
 endif
 
 install-so-link:
-	mv -f $(INST_LIB)/$(LIB_PREFIX)$(TOBEGEN).$(SHLIB_EXT).$(OGDI_MAJOR).$(OGDI_MINOR) $(INST_LIB)
-	mv -f $(INST_LIB)/$(LIB_PREFIX)$(TOBEGEN).$(SHLIB_EXT).$(OGDI_MAJOR) $(INST_LIB)
-	cd $(INST_LIB); ln -s $(LIB_PREFIX)$(TOBEGEN).$(SHLIB_EXT).$(OGDI_MAJOR).$(OGDI_MINOR) \
-	      $(LIB_PREFIX)$(TOBEGEN_STRIPPED).$(SHLIB_EXT) ; \
-	cd $(CURDIR)
+	#mv -f $(INST_LIB)/$(LIB_PREFIX)$(TOBEGEN).$(SHLIB_EXT).$(OGDI_MAJOR).$(OGDI_MINOR) $(INST_LIB)
+	#mv -f $(INST_LIB)/$(LIB_PREFIX)$(TOBEGEN).$(SHLIB_EXT).$(OGDI_MAJOR) $(INST_LIB)
+	#cd $(INST_LIB); ln -s $(LIB_PREFIX)$(TOBEGEN).$(SHLIB_EXT).$(OGDI_MAJOR).$(OGDI_MINOR) \
+	#      $(LIB_PREFIX)$(TOBEGEN_STRIPPED).$(SHLIB_EXT) ; \
+	#cd $(CURDIR)
 
 install:	default-install $(EXTRA_INSTALL_TARGETS)