Author: sparky
Date: Thu Aug 27 21:18:41 2009
New Revision: 10502

Modified:
   toys/rsget.pl/Makefile
Log:
- change data_path value to $(DATADIR) while installing


Modified: toys/rsget.pl/Makefile
==============================================================================
--- toys/rsget.pl/Makefile      (original)
+++ toys/rsget.pl/Makefile      Thu Aug 27 21:18:41 2009
@@ -25,7 +25,8 @@
 install:
        rm -f {RSGet,Get,Link,data}/*~
        install -d $(DESTDIR)$(DATADIR)/{RSGet,Get,Link,data} 
$(DESTDIR)$(BINDIR)
-       install rsget.pl $(DESTDIR)$(BINDIR)
+       sed 's#\($$data_path\) =.*;#\1 = "$(DATADIR)";#' < rsget.pl > 
rsget.pl.datadir
+       install rsget.pl.datadir $(DESTDIR)$(BINDIR)/rsget.pl
        cp RSGet/*.pm $(DESTDIR)$(DATADIR)/RSGet
        cp Get/* $(DESTDIR)$(DATADIR)/Get
        cp Link/* $(DESTDIR)$(DATADIR)/Link
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to