patches/SFElv-01-kohju.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 3150 5f5c6292621d
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3150
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     1
diff -urN lv451.orig/src/Makefile.in lv451/src/Makefile.in
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     2
--- lv451.orig/src/Makefile.in	2004-01-06 16:22:17.000000000 +0900
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     3
+++ lv451/src/Makefile.in	2009-05-05 21:38:45.244889172 +0900
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     4
@@ -64,17 +64,18 @@
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     5
 #
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     6
 
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     7
 install::
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     8
-	$(INSTALL) -s -m 555 lv $(bindir)
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
     9
-	if test -f $(bindir)/lgrep; then \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    10
-		/bin/rm -f $(bindir)/lgrep; \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    11
+	mkdir -p $(DESTDIR)$(bindir)
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    12
+	$(INSTALL) -s -m 555 lv $(DESTDIR)$(bindir)
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    13
+	if test -f $(DESTDIR)$(bindir)/lgrep; then \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    14
+		/bin/rm -f $(DESTDIR)$(bindir)/lgrep; \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    15
 	fi
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    16
-	(cd $(bindir); ln lv lgrep)
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    17
-	if test ! -d $(lvlibdir); then \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    18
-		mkdir -p $(lvlibdir); \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    19
+	(cd $(DESTDIR)$(bindir); ln lv lgrep)
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    20
+	if test ! -d $(DESTDIR)$(lvlibdir); then \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    21
+		mkdir -p $(DESTDIR)$(lvlibdir); \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    22
 	fi
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    23
-	$(INSTALL) -m 444 $(srcdir)/../lv.hlp $(lvlibdir)
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    24
-	if test -d $(mandir) -a -d $(mandir)/man1; then \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    25
-		$(INSTALL) -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    26
+	$(INSTALL) -m 444 $(srcdir)/../lv.hlp $(DESTDIR)$(lvlibdir)
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    27
+	if test -d $(DESTDIR)$(mandir) -a -d $(DESTDIR)$(mandir)/man1; then \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    28
+		$(INSTALL) -m 444 $(srcdir)/../lv.1 $(DESTDIR)$(mandir)/man1; \
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    29
 	fi
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    30
 
5f5c6292621d * Add SFElv.spec, this is powerfull multilingual viewer and grep.
kohju
parents:
diff changeset
    31
 uninstall::