Update copyright annotations and license boilerplates to correspond with SGI Legals...
[xfstests-dev.git] / build / tar / Makefile
1 #
2 # Copyright (c) 2000-2003 Silicon Graphics, Inc.  All Rights Reserved.
3 #
4
5 TOPDIR = ../..
6 include $(TOPDIR)/include/builddefs
7
8 BINTAR=$(PKG_NAME)-$(PKG_VERSION).tar.gz
9 LDIRT = *.gz
10
11 default install install-dev install-lib:
12
13 include $(BUILDRULES)
14
15 dist : default
16         @HERE=`pwd`; cd $${DIST_ROOT:-/}; \
17         $(SORT) -u $$HERE/../bin-manifest | $(AWK) ' \
18                 $$1 == "f" { printf (".%s\n", $$6); } \
19                 $$1 == "d" { next; } \
20                 $$1 == "l" { printf (".%s\n", $$3); }' \
21         | $(TAR) -T - -cf - | $(ZIP) --best > $$HERE/$(BINTAR)
22         @echo Wrote: `pwd`/$(BINTAR)