X Strike Force X.Org X11 SVN commit: r777 - trunk/xsfbs
Author: dnusinow
Date: 2005-10-24 20:49:46 -0500 (Mon, 24 Oct 2005)
New Revision: 777
Modified:
trunk/xsfbs/xsfbs.mk
Log:
Add partial hack to rename the current dir to the correct debian name when making the orig-tar-gz
Modified: trunk/xsfbs/xsfbs.mk
===================================================================
--- trunk/xsfbs/xsfbs.mk 2005-10-25 00:54:03 UTC (rev 776)
+++ trunk/xsfbs/xsfbs.mk 2005-10-25 01:49:46 UTC (rev 777)
@@ -316,11 +316,13 @@
# for the rare situations when one is needed.
.PHONY: make-orig-tar-gz
make-orig-tar-gz: clean prune-upstream-tree
+ CURDIR=$(shell basename `pwd`)
+ echo "$(CURDIR)"
( cd .. \
&& if ! [ -d $(SOURCE_NAME)-$(UPSTREAM_VERSION) ]; then \
echo "../$(SOURCE_NAME)-$(UPSTREAM_VERSION) does not exist or is" \
"not a directory." >&2; \
- exit 1; \
+ mv $(CURDIR) $(SOURCE_NAME)-$(UPSTREAM_VERSION); \
else \
tar --exclude=debian --exclude=debian/* \
--exclude=.svn --exclude=.svn/* \
Reply to: