aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-13 14:33:22 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-13 14:33:22 +0000
commit8a6bd8e3120393ac2991e2937499ebbf532cc7e5 (patch)
tree922c7eb82c36ccad457570c37e07862636704b8d
parent1c82d532474798a1b07f85c5a925a2ad27ac2c27 (diff)
use `svn export`
-rw-r--r--Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index ab4640ca..2c0cd342 100644
--- a/Makefile
+++ b/Makefile
@@ -59,8 +59,6 @@ install::
rm -f $(DESTDIR)/$(LIB)/rcscripts/sh/functions.sh.bak ; \
fi
-.PHONY: all clean install
-
layout:
# Create base filesytem layout
for x in $(KEEP_DIRS) ; do \
@@ -90,18 +88,12 @@ distcheck:
fi
distforce:
- install -d /tmp/$(PKG)
- cp -PRp . /tmp/$(PKG)
- `which find` /tmp/$(PKG) -depth -path "*/.svn/*" -delete
- `which find` /tmp/$(PKG) -depth -path "*/.svn" -delete
- rm -rf /tmp/$(PKG)/src/core /tmp/$(PKG)/po
- $(MAKE) -C /tmp/$(PKG) clean
- sed -i'.bak' -e '/-Wl,-rpath ./ s/^/#/g' /tmp/$(PKG)/src/Makefile
- rm -f /tmp/$(PKG)/src/Makefile.bak
+ svn export . /tmp/$(PKG)
tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
- rm -Rf /tmp/$(PKG)
du /tmp/$(PKG).tar.bz2
dist: distcheck distforce
+.PHONY: layout dist distcheck distforce
+
# vim: set ts=4 :