Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] baselayout r3112 - trunk
Date: Sun, 23 Mar 2008 01:17:02
Message-Id: E1JdEpX-0006cI-Bg@stork.gentoo.org
1 Author: vapier
2 Date: 2008-03-23 01:16:58 +0000 (Sun, 23 Mar 2008)
3 New Revision: 3112
4
5 Modified:
6 trunk/Makefile
7 Log:
8 cleanup dist targets
9
10 Modified: trunk/Makefile
11 ===================================================================
12 --- trunk/Makefile 2008-03-23 00:55:42 UTC (rev 3111)
13 +++ trunk/Makefile 2008-03-23 01:16:58 UTC (rev 3112)
14 @@ -1,5 +1,5 @@
15 # baselayout Makefile
16 -# Copyright 2006-2007 Gentoo Foundation
17 +# Copyright 2006-2008 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 #
20 # We've moved the installation logic from Gentoo ebuild into a generic
21 @@ -21,9 +21,9 @@
22 endif
23 endif
24
25 -KEEP_DIRS = /boot /home /mnt /root \
26 +KEEP_DIRS = /boot /home /mnt /root /proc \
27 /usr/local/bin /usr/local/sbin /usr/local/share/doc /usr/local/share/man \
28 - /var/lock /var/run
29 + /var/lock /var/run /var/empty
30
31 ifeq ($(OS),Linux)
32 KEEP_DIRS += /dev /sys
33 @@ -69,23 +69,13 @@
34
35 distforce:
36 rm -rf /tmp/$(PKG)
37 - cp -pPR . /tmp/$(PKG)
38 - $(MAKE) -C /tmp/$(PKG) clean
39 - (find /tmp/$(PKG) -type d -name .svn -exec rm -rf {} \; 2>/dev/null; exit 0)
40 - tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
41 + svn export -q . /tmp/$(PKG)
42 + tar jcf /tmp/$(PKG).tar.bz2 -C /tmp $(PKG)
43 rm -rf /tmp/$(PKG)
44 ls -l /tmp/$(PKG).tar.bz2
45
46 -distit:
47 - rm -rf /tmp/$(PKG)
48 - svn export . /tmp/$(PKG)
49 - $(MAKE) -C /tmp/$(PKG) clean
50 - tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
51 - rm -rf /tmp/$(PKG)
52 - ls -l /tmp/$(PKG).tar.bz2
53 +dist: diststatus distforce
54
55 -dist: diststatus distit
56 +.PHONY: layout dist distforce diststatus
57
58 -.PHONY: layout dist distforce distit diststatus
59 -
60 # vim: set ts=4 :
61
62 --
63 gentoo-commits@l.g.o mailing list