patches/antlr-01-destdir.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 275 27cbcd7bed53
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
275
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     1
diff -ur antlr-2.7.7-orig/Makefile.in antlr-2.7.7/Makefile.in
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
--- antlr-2.7.7-orig/Makefile.in	2006-11-02 04:37:18.000000000 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     3
+++ antlr-2.7.7/Makefile.in	2007-05-13 17:05:01.505188044 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
@@ -124,16 +124,16 @@
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
 extradir = $(datadir)/$(versioneddir)
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
 install ::
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
-	$(MKDIR) -p "$(bindir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
-	$(MKDIR) -p "$(extradir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    10
-	$(MKDIR) -p "$(docdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    11
-	$(INSTALL) -m 755 scripts/run-antlr                          "$(bindir)/antlr"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    12
-	$(INSTALL) -m 755 scripts/antlr-config                       "$(bindir)/antlr-config"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    13
-	$(INSTALL) -m 444 @abs_top_srcdir@/extras/antlr-mode.el      "$(extradir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    14
-	$(INSTALL) -m 444 @abs_top_srcdir@/extras/antlr-jedit.xml    "$(extradir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    15
-	$(INSTALL) -m 444 @abs_top_srcdir@/LICENSE.txt               "$(docdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    16
-	$(INSTALL) -m 444 @abs_top_srcdir@/README.txt                "$(docdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    17
-	$(INSTALL) -m 444 @abs_top_srcdir@/INSTALL.txt               "$(docdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    18
+	$(MKDIR) -p "$(DESTDIR)$(bindir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    19
+	$(MKDIR) -p "$(DESTDIR)$(extradir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    20
+	$(MKDIR) -p "$(DESTDIR)$(docdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    21
+	$(INSTALL) -m 755 scripts/run-antlr                          "$(DESTDIR)$(bindir)/antlr"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    22
+	$(INSTALL) -m 755 scripts/antlr-config                       "$(DESTDIR)$(bindir)/antlr-config"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    23
+	$(INSTALL) -m 444 @abs_top_srcdir@/extras/antlr-mode.el      "$(DESTDIR)$(extradir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    24
+	$(INSTALL) -m 444 @abs_top_srcdir@/extras/antlr-jedit.xml    "$(DESTDIR)$(extradir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    25
+	$(INSTALL) -m 444 @abs_top_srcdir@/LICENSE.txt               "$(DESTDIR)$(docdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    26
+	$(INSTALL) -m 444 @abs_top_srcdir@/README.txt                "$(DESTDIR)$(docdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    27
+	$(INSTALL) -m 444 @abs_top_srcdir@/INSTALL.txt               "$(DESTDIR)$(docdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    28
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    29
 install ::
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    30
 	@ECHO@ "installation done"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    31
diff -ur antlr-2.7.7-orig/antlr/Makefile.in antlr-2.7.7/antlr/Makefile.in
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    32
--- antlr-2.7.7-orig/antlr/Makefile.in	2006-11-02 04:37:17.000000000 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    33
+++ antlr-2.7.7/antlr/Makefile.in	2007-05-13 17:10:48.660761885 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    34
@@ -321,11 +321,11 @@
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    35
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    36
 ## install antlr.jar in libdirectory if exists
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    37
 install ::	@ANTLR_JAR@ 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    38
-	-$(MKDIR) -p "$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    39
-	-$(MKDIR) -p "$(datadir)/$(versioneddir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    40
+	-$(MKDIR) -p "$(DESTDIR)$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    41
+	-$(MKDIR) -p "$(DESTDIR)$(datadir)/$(versioneddir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    42
 	-test -f @ANTLR_JAR@ && {\
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    43
-	 $(INSTALL) -m 444 @ANTLR_JAR@ "$(datadir)/$(versioneddir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    44
-	 $(INSTALL) -m 444 @ANTLR_JAR@ "$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    45
+	 $(INSTALL) -m 444 @ANTLR_JAR@ "$(DESTDIR)$(datadir)/$(versioneddir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    46
+	 $(INSTALL) -m 444 @ANTLR_JAR@ "$(DESTDIR)$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    47
 	}
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    48
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    49
 distclean :: clean
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    50
diff -ur antlr-2.7.7-orig/doc/Makefile.in antlr-2.7.7/doc/Makefile.in
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    51
--- antlr-2.7.7-orig/doc/Makefile.in	2006-11-02 04:37:17.000000000 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    52
+++ antlr-2.7.7/doc/Makefile.in	2007-05-13 17:11:22.428191167 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    53
@@ -43,12 +43,12 @@
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    54
 	$(eol)
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    55
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    56
 install ::
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    57
-	@$(MKDIR) -p "$(antlr_doc_DIR)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    58
+	@$(MKDIR) -p "$(DESTDIR)$(antlr_doc_DIR)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    59
 	@@ECHO@ "install doc files .. "
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    60
 	@for f in $(antlr_doc_FILES) ; do \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    61
 		@ECHO@ "install $${f}" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    62
 		if test -f "$${f}" ; then \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    63
-			$(INSTALL) -m 444 "$${f}" "$(antlr_doc_DIR)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    64
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(antlr_doc_DIR)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    65
 		fi ;\
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    66
 	done
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    67
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    68
diff -ur antlr-2.7.7-orig/lib/cpp/antlr/Makefile.in antlr-2.7.7/lib/cpp/antlr/Makefile.in
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    69
--- antlr-2.7.7-orig/lib/cpp/antlr/Makefile.in	2006-11-02 04:37:17.000000000 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    70
+++ antlr-2.7.7/lib/cpp/antlr/Makefile.in	2007-05-13 17:11:29.956236184 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    71
@@ -75,11 +75,11 @@
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    72
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    73
 install:
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    74
 	@@ECHO@ "install hpp files .. "
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    75
-	@$(MKDIR) -p "$(includedir)/antlr"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    76
+	@$(MKDIR) -p "$(DESTDIR)$(includedir)/antlr"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    77
 	@for f in $(antlr_hpp_FILES) ; do \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    78
 		@ECHO@ "install $${f}" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    79
 		if test -f "$${f}" ; then \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    80
-			$(INSTALL) -m 444 "$${f}" "$(includedir)/antlr" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    81
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(includedir)/antlr" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    82
 		fi ;\
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    83
 	done
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    84
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    85
diff -ur antlr-2.7.7-orig/lib/cpp/src/Makefile.in antlr-2.7.7/lib/cpp/src/Makefile.in
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    86
--- antlr-2.7.7-orig/lib/cpp/src/Makefile.in	2006-11-02 04:37:17.000000000 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    87
+++ antlr-2.7.7/lib/cpp/src/Makefile.in	2007-05-13 17:08:39.854205161 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    88
@@ -114,12 +114,12 @@
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    89
   $(eol)
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    90
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    91
 this-install: @ANTLR_LIB@ 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    92
-	@$(MKDIR) -p "$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    93
+	@$(MKDIR) -p "$(DESTDIR)$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    94
 	@@ECHO@ "install C++ core files .. "
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    95
 	@for f in $(antlr_lib_FILES) ; do \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    96
 		@ECHO@ "install $${f}" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    97
 		if test -f "$${f}" ; then \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    98
-			$(INSTALL) -m 444 "$${f}" "$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    99
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   100
 		fi ;\
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   101
 	done
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   102
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   103
diff -ur antlr-2.7.7-orig/lib/csharp/antlr.astframe/Makefile.in antlr-2.7.7/lib/csharp/antlr.astframe/Makefile.in
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   104
--- antlr-2.7.7-orig/lib/csharp/antlr.astframe/Makefile.in	2006-11-02 04:37:17.000000000 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   105
+++ antlr-2.7.7/lib/csharp/antlr.astframe/Makefile.in	2007-05-13 17:08:09.494692930 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   106
@@ -45,13 +45,13 @@
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   107
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   108
 ## install our target ..
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   109
 install :: @ASTFRAME_NET@ 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   110
-	@$(MKDIR) -p "$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   111
+	@$(MKDIR) -p "$(DESTDIR)$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   112
 	@@ECHO@ "install C# core files .. "
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   113
 	@for f in @ASTFRAME_NET@  ; do \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   114
 		@ECHO@ "install $${f}" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   115
 		if test -f "$${f}" ; then \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   116
-			$(INSTALL) -m 444 "$${f}" "$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   117
-			$(INSTALL) -m 444 "$${f}" "$(datadir)/$(versioneddir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   118
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   119
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(datadir)/$(versioneddir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   120
 		fi ;\
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   121
 	done
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   122
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   123
diff -ur antlr-2.7.7-orig/lib/csharp/antlr.runtime/Makefile.in antlr-2.7.7/lib/csharp/antlr.runtime/Makefile.in
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   124
--- antlr-2.7.7-orig/lib/csharp/antlr.runtime/Makefile.in	2006-11-02 04:37:17.000000000 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   125
+++ antlr-2.7.7/lib/csharp/antlr.runtime/Makefile.in	2007-05-13 17:07:23.127331202 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   126
@@ -135,13 +135,13 @@
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   127
 	@RMF@ Makefile
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   128
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   129
 install :: @ANTLR_NET@ 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   130
-	@$(MKDIR) -p "$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   131
+	@$(MKDIR) -p "$(DESTDIR)$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   132
 	@@ECHO@ "install C# core files .. "
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   133
 	@for f in @ANTLR_NET@  ; do \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   134
 		@ECHO@ "install $${f}" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   135
 		if test -f "$${f}" ; then \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   136
-			$(INSTALL) -m 444 "$${f}" "$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   137
-			$(INSTALL) -m 444 "$${f}" "$(datadir)/$(versioneddir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   138
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   139
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(datadir)/$(versioneddir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   140
 		fi ;\
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   141
 	done
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   142
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   143
diff -ur antlr-2.7.7-orig/lib/python/Makefile.in antlr-2.7.7/lib/python/Makefile.in
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   144
--- antlr-2.7.7-orig/lib/python/Makefile.in	2006-11-02 04:37:17.000000000 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   145
+++ antlr-2.7.7/lib/python/Makefile.in	2007-05-13 17:06:23.095918397 +0700
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   146
@@ -41,26 +41,26 @@
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   147
 extradir = $(datadir)/$(versioneddir)
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   148
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   149
 install-this:
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   150
-	$(MKDIR) -p "$(antlr_py_DIR)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   151
-	$(MKDIR) -p "$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   152
+	$(MKDIR) -p "$(DESTDIR)$(antlr_py_DIR)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   153
+	$(MKDIR) -p "$(DESTDIR)$(libdir)"
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   154
 	@@ECHO@ "install python files .. "
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   155
 	@for f in $(antlr_py_FILES) ; do \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   156
 		@ECHO@ "install $${f}" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   157
 		if test -f "$${f}" ; then \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   158
-			$(INSTALL) -m 444 "$${f}" "$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   159
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(libdir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   160
 		fi ;\
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   161
 	done
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   162
 	@for f in $(antlr_py1_FILES) ; do \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   163
 		@ECHO@ "install $${f}" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   164
 		if test -f "$${f}" ; then \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   165
-			$(INSTALL) -m 444 "$${f}" "$(antlr_py_DIR)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   166
+			$(INSTALL) -m 444 "$${f}" "$(DESTDIR)$(antlr_py_DIR)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   167
 		fi ;\
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   168
 	done
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   169
 	@f="$(objdir)/scripts/pyantlr.sh"; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   170
 	if test -f "$${f}" ; then \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   171
 			@ECHO@ "install Python installer" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   172
-			$(MKDIR) -p "$(sbindir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   173
-			$(INSTALL) -m 555 "$${f}" "$(sbindir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   174
+			$(MKDIR) -p "$(DESTDIR)$(sbindir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   175
+			$(INSTALL) -m 555 "$${f}" "$(DESTDIR)$(sbindir)" ; \
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   176
 	fi
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   177
 
27cbcd7bed53 2007-05-14 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
   178