SVN: toys/rsget.pl/Makefile

sparky sparky at pld-linux.org
Sat Oct 3 20:01:11 CEST 2009


Author: sparky
Date: Sat Oct  3 20:01:11 2009
New Revision: 10666

Modified:
   toys/rsget.pl/Makefile
Log:
- updated for rsget.pl changes


Modified: toys/rsget.pl/Makefile
==============================================================================
--- toys/rsget.pl/Makefile	(original)
+++ toys/rsget.pl/Makefile	Sat Oct  3 20:01:11 2009
@@ -12,6 +12,7 @@
 else
 pkg:
 	rm -f {RSGet,Get,Link,data}/*~
+	rm -rf $(PKGDIR)
 	install -d $(PKGDIR)/{RSGet,Get,Link,data}
 	install rsget.pl $(PKGDIR)
 	cp Makefile README README.config $(PKGDIR)
@@ -25,7 +26,7 @@
 install:
 	rm -f {RSGet,Get,Link,data}/*~
 	install -d $(DESTDIR)$(DATADIR)/{RSGet,Get,Link,data} $(DESTDIR)$(BINDIR)
-	sed 's#\($$data_path\) =.*;#\1 = "$(DATADIR)";#' < rsget.pl > rsget.pl.datadir
+	sed 's#\($$install_path\) =.*;#\1 = "$(DATADIR)";#' < rsget.pl > rsget.pl.datadir
 	install rsget.pl.datadir $(DESTDIR)$(BINDIR)/rsget.pl
 	cp RSGet/*.pm $(DESTDIR)$(DATADIR)/RSGet
 	cp data/* $(DESTDIR)$(DATADIR)/data


More information about the pld-cvs-commit mailing list