* Master/source-distribution.make (dist): Tar/copy the directory

instead of moving it to make the distribution. Fixes bug #13305
* Documentation/machines.texi: Update Suse.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2005-06-10 16:05:50 +00:00
parent c41f313136
commit 09c54f78a5
3 changed files with 15 additions and 7 deletions

View file

@ -1,3 +1,10 @@
2005-06-10 Adam Fedor <fedor@gnu.org>
* Master/source-distribution.make (dist): Tar/copy the directory
instead of moving it to make the distribution. Fixes bug #13305
* Documentation/machines.texi: Update Suse.
2005-06-06 Adam Fedor <fedor@gnu.org>
* Instance/application.make (ALL_GUI_LIBS): Remove OBJC_LIBS,

View file

@ -669,7 +669,7 @@ gdnc doesn't work. If you recompile the kernel then it starts working.
@node Suse/Intel, Suse 7.x/PPC, Suse 6.x/Intel, Machine Specific
@section Suse/Intel
GNUstep has been tested on version 7.0, 8.0, 8.1, 8.2, 9.0, and 9.1 of Suse
GNUstep has been tested on version 7.0, 8.0, 8.1, 8.2, 9.0, 9.1, and 9.3 of Suse
@table @var
@item Recommended compiler

View file

@ -131,15 +131,16 @@ VERTAG = $(subst .,_,$(PACKAGE_VERSION))
dist: distclean
@echo "Generating $(ARCHIVE_FILE) in the parent directory..."; \
SNAPSHOT_DIR=`basename $$(pwd)`; \
cd ..; \
if [ "$$SNAPSHOT_DIR" != "$(VERSION_NAME)" ]; then \
if [ -d "$(VERSION_NAME)" ]; then \
if [ -d "../$(VERSION_NAME)" ]; then \
echo "$(VERSION_NAME) already exists in parent directory (?):"; \
echo "Saving old version in $(VERSION_NAME)~"; \
mv $(VERSION_NAME) $(VERSION_NAME)~; \
mv ../$(VERSION_NAME) ../$(VERSION_NAME)~; \
fi; \
mv $$SNAPSHOT_DIR $(VERSION_NAME);\
fi; \
mkdir ../$(VERSION_NAME); \
tar cf - . | (cd ../$(VERSION_NAME); tar xf -); \
fi; \
cd ..; \
if [ -f $(ARCHIVE_FILE) ]; then \
echo "$(ARCHIVE_FILE) already exists:"; \
echo "Saving old version in $(ARCHIVE_FILE)~"; \
@ -153,7 +154,7 @@ dist: distclean
| $(COMPRESSION_PROGRAM) > $(ARCHIVE_FILE); \
fi; \
if [ "$$SNAPSHOT_DIR" != "$(VERSION_NAME)" ]; then \
mv $(VERSION_NAME) $$SNAPSHOT_DIR; \
rm -rf $(VERSION_NAME); \
fi; \
if [ ! -f $(ARCHIVE_FILE) ]; then \
echo "*Error* creating .tar$(COMPRESSION_EXT) archive"; \