SOURCES: maxr-Makefile.patch (NEW) - install stuff in proper place, use DES...

lisu lisu at pld-linux.org
Tue Dec 23 13:51:43 CET 2008


Author: lisu                         Date: Tue Dec 23 12:51:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- install stuff in proper place, use DESTDIR

---- Files affected:
SOURCES:
   maxr-Makefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/maxr-Makefile.patch
diff -u /dev/null SOURCES/maxr-Makefile.patch:1.1
--- /dev/null	Tue Dec 23 13:51:43 2008
+++ SOURCES/maxr-Makefile.patch	Tue Dec 23 13:51:37 2008
@@ -0,0 +1,25 @@
+--- maxr-0.2.1/Makefile.am~	2008-12-23 09:41:26.000000000 +0100
++++ maxr-0.2.1/Makefile.am	2008-12-23 09:41:11.000000000 +0100
+@@ -6,8 +6,8 @@
+ 
+ # assign parameters from configure
+ prefix=@prefix@
+-#bindir=@prefix@/maxr
+-DATADIR=@prefix@/maxr
++BINDIR=@bindir@
++DATADIR=@datadir@/maxr
+ INSTALL=$(top_srcdir)/install-sh
+ 
+ 
+@@ -15,7 +15,8 @@
+ #	$(INSTALL) -d $(DATADIR)/data
+ #	$(INSTALL) -d $(DATADIR)/2
+ # Copy each compiled file to datadir (with path)
+-	$(INSTALL) -d $(DATADIR)
+-	cp -a $(top_srcdir)/data/* $(DATADIR)/
+-	$(INSTALL) -m 755 $(top_srcdir)/src/maxr $(DATADIR)/
++	$(INSTALL) -d $(DESTDIR)$(DATADIR)
++	cp -a $(top_srcdir)/data/* $(DESTDIR)$(DATADIR)/
++	$(INSTALL) -d $(DESTDIR)$(BINDIR)
++	$(INSTALL) -m 755 $(top_srcdir)/src/maxr $(DESTDIR)$(BINDIR)/
+ 
================================================================


More information about the pld-cvs-commit mailing list