* [gentoo-commits] gentoo-projects commit in crossdev-wrappers: Makefile
@ 2009-11-23 3:51 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2009-11-23 3:51 UTC (permalink / raw
To: gentoo-commits
vapier 09/11/23 03:51:17
Modified: Makefile
Log:
cleanup makefile a bit (changes from git)
Revision Changes Path
1.2 crossdev-wrappers/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/crossdev-wrappers/Makefile?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/crossdev-wrappers/Makefile?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/crossdev-wrappers/Makefile?r1=1.1&r2=1.2
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/crossdev-wrappers/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile 26 Feb 2009 23:19:51 -0000 1.1
+++ Makefile 23 Nov 2009 03:51:16 -0000 1.2
@@ -1,8 +1,6 @@
# Copyright 2008-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/crossdev-wrappers/Makefile,v 1.1 2009/02/26 23:19:51 solar Exp $
-
-# -solar
+# $Header: /var/cvsroot/gentoo-projects/crossdev-wrappers/Makefile,v 1.2 2009/11/23 03:51:16 vapier Exp $
DESTDIR ?= /
PREFIX ?= /usr/local
@@ -10,10 +8,9 @@
PORTDIR ?= $(shell portageq envvar PORTDIR)
FNAMES = cross-emerge cross-fix-root cross-pkg-config emerge-wrapper
SITE = $(PREFIX)/share/crossdev/include/site
-TOPDIR=
+TOPDIR =
all:
- @:
install:
mkdir -p $(DESTDIR)/$(PREFIX)/bin/ $(DESTDIR)/$(SITE)
@@ -23,10 +20,14 @@
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/
- ( cd $(DESTDIR)/$(PREFIX)/share/crossdev/etc && ln -sf $(PORTDIR)/profiles/embedded make.profile )
+ ln -sf $(PORTDIR)/profiles/embedded $(DESTDIR)/$(PREFIX)/share/crossdev/etc/make.profile
+
+.PHONY: all install
uninstall:
@for x in $(FNAMES) ; do rm -f $(DESTDIR)/$(PREFIX)/bin/$$x ; done
dist:
cd ../ ; tar jcvf crossdev-wrappers-`date -u +%Y%m%d`.tar.bz2 crossdev-wrappers
+
+.PHONY: uninstall dist
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-23 3:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 3:51 [gentoo-commits] gentoo-projects commit in crossdev-wrappers: Makefile Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox