SOURCES: einstein-makefile.patch (NEW) - change PREFIX - install f...

lisu lisu at pld-linux.org
Thu Oct 12 18:47:34 CEST 2006


Author: lisu                         Date: Thu Oct 12 16:47:34 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- change PREFIX
- install files in $(DESTDIR)

---- Files affected:
SOURCES:
   einstein-makefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/einstein-makefile.patch
diff -u /dev/null SOURCES/einstein-makefile.patch:1.1
--- /dev/null	Thu Oct 12 18:47:34 2006
+++ SOURCES/einstein-makefile.patch	Thu Oct 12 18:47:29 2006
@@ -0,0 +1,22 @@
+--- einstein-2.0/Makefile~	2005-09-25 23:20:30.000000000 +0200
++++ einstein-2.0/Makefile	2006-10-12 18:30:03.000000000 +0200
+@@ -5,7 +5,7 @@
+ ########################################
+ 
+ # installation prefix
+-PREFIX=/usr/local
++PREFIX=/usr
+ 
+ ########################################
+ #
+@@ -61,8 +61,8 @@
+ 	./$(TARGET)
+ 
+ install: $(TARGET)
+-	$(INSTALL) -s -D $(TARGET) $(PREFIX)/bin/$(TARGET)
+-	$(INSTALL) -D einstein.res $(PREFIX)/share/einstein/res/einstein.res
++	$(INSTALL) -s -D $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
++	$(INSTALL) -D einstein.res $(DESTDIR)$(PREFIX)/share/einstein/res/einstein.res
+ 	
+ # DO NOT DELETE THIS LINE -- make depend depends on it.
+ 
================================================================


More information about the pld-cvs-commit mailing list