Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > b81cf221bbda7299853d5e0e73e0ddf6 > files > 5

grace-5.1.20-alt3.src.rpm

diff -uNr grace-5.1.9.orig1/auxiliary/Makefile grace-5.1.9/auxiliary/Makefile
--- grace-5.1.9.orig1/auxiliary/Makefile	2002-06-22 15:40:21 +0400
+++ grace-5.1.9/auxiliary/Makefile	2002-08-14 02:43:55 +0400
@@ -27,8 +27,8 @@
 install : $(AUXILIARIES) $(PROGRAMS) $(SCRIPTS)
 	$(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)/auxiliary
 	for i in $(AUXILIARIES); do $(INSTALL_DATA) $$i $(DESTDIR)$(GRACE_HOME)/auxiliary; done
-	for i in $(PROGRAMS); do $(INSTALL_PROGRAM) -s $$i $(DESTDIR)$(GRACE_HOME)/bin; done
-	for i in $(SCRIPTS); do $(INSTALL_PROGRAM) $$i $(DESTDIR)$(GRACE_HOME)/bin; done
+	for i in $(PROGRAMS); do $(INSTALL_PROGRAM) -s $$i $(bindir); done
+	for i in $(SCRIPTS); do $(INSTALL_PROGRAM) $$i $(bindir); done
 
 tests : dummy
 
diff -uNr grace-5.1.9.orig1/grconvert/Makefile grace-5.1.9/grconvert/Makefile
--- grace-5.1.9.orig1/grconvert/Makefile	2002-06-22 15:40:21 +0400
+++ grace-5.1.9/grconvert/Makefile	2002-08-14 02:41:02 +0400
@@ -41,8 +41,8 @@
 	$(RM) $(PROG) $(OBJS)
 
 install : $(PROG)
-	$(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)/bin
-	$(INSTALL_PROGRAM) -s $(PROG) $(DESTDIR)$(GRACE_HOME)/bin/$(PROG)
+	$(MKINSTALLDIRS) $(bindir)
+	$(INSTALL_PROGRAM) -s $(PROG) $(bindir)/$(PROG)
 
 dummy :
 
diff -uNr grace-5.1.9.orig1/src/Makefile grace-5.1.9/src/Makefile
--- grace-5.1.9.orig1/src/Makefile	2002-06-22 15:40:21 +0400
+++ grace-5.1.9/src/Makefile	2002-08-14 02:40:11 +0400
@@ -59,9 +59,9 @@
 
 
 install : $(GRACE)
-	$(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)/bin
-	$(INSTALL_PROGRAM) -s $(GRACE) $(DESTDIR)$(GRACE_HOME)/bin/$(GRACE)
-	cd $(DESTDIR)$(GRACE_HOME)/bin; $(RM) $(GRBATCH); $(LN_S) $(GRACE) $(GRBATCH)
+	$(MKINSTALLDIRS) $(bindir)
+	$(INSTALL_PROGRAM) -s $(GRACE) $(bindir)/$(GRACE)
+	cd $(bindir); $(RM) $(GRBATCH); $(LN_S) $(GRACE) $(GRBATCH)
 
 tests : dummy