aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-10-20 19:55:51 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-10-20 19:55:51 +0100
commite94b23e290b2a6a3c76fef471535608820e9f1fc (patch)
tree993ed82a20d1abc567918d93ea059f199d4102d4 /wrappers/Makefile
parentmakefile: use ':' separator in set expressions consistently (diff)
downloadcrossdev-e94b23e290b2a6a3c76fef471535608820e9f1fc.tar.gz
crossdev-e94b23e290b2a6a3c76fef471535608820e9f1fc.tar.bz2
crossdev-e94b23e290b2a6a3c76fef471535608820e9f1fc.zip
wrappers: use @TOPDIR@ and @PREFIX@ instead of __TOPDIR__ and __PREFIX__
Leave __<var>__ substitutions for runtime substitution and keep @<var>@ for 'make install' substitution. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'wrappers/Makefile')
-rw-r--r--wrappers/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/Makefile b/wrappers/Makefile
index 15518bd..73f0dcc 100644
--- a/wrappers/Makefile
+++ b/wrappers/Makefile
@@ -17,8 +17,8 @@ install:
cp -a etc $(DESTDIR)/$(PREFIX)/share/crossdev/
sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)/$(PREFIX)/share/crossdev/etc/portage/make.conf
cp -a site $(DESTDIR)/$(PREFIX)/share/crossdev/include/
- sed -i -e s@__PREFIX__@$(PREFIX)@g $(DESTDIR)/$(PREFIX)/bin/emerge-wrapper
- sed -i -e s@__TOPDIR__@$(SITE)@g $(DESTDIR)/$(SITE)/config.site
+ sed -i -e s:@PREFIX@:$(PREFIX):g $(DESTDIR)/$(PREFIX)/bin/emerge-wrapper
+ sed -i -e s:@TOPDIR@:$(SITE):g $(DESTDIR)/$(SITE)/config.site
mv $(DESTDIR)/$(SITE)/config.site $(DESTDIR)/$(PREFIX)/share/
ln -sf $(PORTDIR)/profiles/embedded $(DESTDIR)/$(PREFIX)/share/crossdev/etc/portage/make.profile