aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--wrappers/Makefile22
2 files changed, 14 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 7814eaf..aa07a91 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,9 @@ include settings.mk
all:
install:
- $(INSTALL_DIR) $(DESTDIR)/$(PREFIX)/bin/
- $(INSTALL_EXEC) crossdev $(DESTDIR)/$(PREFIX)/bin/
- sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)/$(PREFIX)/bin/crossdev
+ $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin/
+ $(INSTALL_EXEC) crossdev $(DESTDIR)$(PREFIX)/bin/
+ sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)$(PREFIX)/bin/crossdev
$(MAKE) -C wrappers install
PV = $(shell test -e .git && date --date="`git log -1 --format=%ci`" +%Y%m%d)
diff --git a/wrappers/Makefile b/wrappers/Makefile
index 73f0dcc..7cbe72f 100644
--- a/wrappers/Makefile
+++ b/wrappers/Makefile
@@ -10,16 +10,16 @@ SITE = $(PREFIX)/share/crossdev/include/site
all:
install:
- $(INSTALL_DIR) $(DESTDIR)/$(PREFIX)/bin/ $(DESTDIR)/$(SITE)
- $(INSTALL_EXEC) $(FNAMES) $(DESTDIR)/$(PREFIX)/bin/
- sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)/$(PREFIX)/bin/cross-emerge
- sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)/$(PREFIX)/bin/emerge-wrapper
- 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
- mv $(DESTDIR)/$(SITE)/config.site $(DESTDIR)/$(PREFIX)/share/
- ln -sf $(PORTDIR)/profiles/embedded $(DESTDIR)/$(PREFIX)/share/crossdev/etc/portage/make.profile
+ $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin/ $(DESTDIR)$(SITE)
+ $(INSTALL_EXEC) $(FNAMES) $(DESTDIR)$(PREFIX)/bin/
+ sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)$(PREFIX)/bin/cross-emerge
+ sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)$(PREFIX)/bin/emerge-wrapper
+ 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
+ mv $(DESTDIR)$(SITE)/config.site $(DESTDIR)$(PREFIX)/share/
+ ln -sf $(PORTDIR)/profiles/embedded $(DESTDIR)$(PREFIX)/share/crossdev/etc/portage/make.profile
.PHONY: all install