SVN: toys/rsget.pl/Makefile
sparky
sparky at pld-linux.org
Thu Aug 27 21:18:41 CEST 2009
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
More information about the pld-cvs-commit
mailing list