aboutsummaryrefslogtreecommitdiff
blob: 9a862f8931fbf3e7a2d3765c5156eb0684af3e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

include settings.mk

all:

install:
	$(INSTALL_DIR) $(DESTDIR)/$(PREFIX)/bin/
	$(INSTALL_EXEC) crossdev $(DESTDIR)/$(PREFIX)/bin/
	$(MAKE) -C wrappers install

PV = $(shell date +%Y%m%d)
P = crossdev-$(PV)
dist:
	git archive --prefix=$(P)/ HEAD | sed 's:@CDEVPV@:$(PV):g' > $(P).tar
	-lzma -f $(P).tar
	du -b $(P).tar*

.PHONY: all dist install