Master/source-distribution.make: Add svn tag/dist rules

Documentation/userfaq.texi: updates.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@22570 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2006-02-23 19:44:35 +00:00
parent d153b93f1e
commit 81afb30a72
3 changed files with 107 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2006-02-23 Adam Fedor <fedor@gnu.org>
* Master/source-distribution.make: Add svn tag/dist rules
* Documentation/userfaq.texi: updates.
2006-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/README.MinGW: Update with information on libxml2

View file

@ -222,7 +222,7 @@ you are using an early compiler, you can supress these warnings by adding
* Is GNUstep following changes to OpenStep and Mac OS X?::
* Do we have to have the NEXTSTEP look and feel?::
* What's up with the directory structure?::
* Why not use framework bundles?::
* Why not use framework bundles?::
@end menu
@node Can I run NeXT OPENSTEP or Mac OS X programs on GNUstep?, Is GNUstep following changes to OpenStep and Mac OS X?, Compatibility and Layout, Compatibility and Layout
@ -336,6 +336,7 @@ as Windows).
* Problems with Alt key::
* Problems with gcc3::
* Problems with fonts::
* No characters displayed::
* No Makefile::
@end menu
@ -414,7 +415,7 @@ Mouse Preferences. Then use another value for the "Mouse grab modifier"
Don't forget you need to update binutils and libc also.
@node Problems with fonts, No Makefile, Problems with gcc3, Troubleshooting
@node Problems with fonts, No characters displayed, Problems with gcc3, Troubleshooting
@subsection Problems with fonts
Why do the characters get changed to asterisks ('*')?
@ -446,7 +447,23 @@ better. When compiling gnustep-back, start with
./configure --enable-graphics=art
@end example
@node No Makefile, , Problems with fonts, Troubleshooting
@node No characters displayed, No Makefile, Problems with fonts, Troubleshooting
@subsection No characters displayed.
When using the xlib backend, no characters are displayed in any GNUstep
applications.
The xlib backend has font anti-aliasing turned on by default. It's possible
that GNUstep can't find any fonts on your system that can be properly anti-
aliased. Try
@example
defaults write NSGlobalDomain GSFontAntiAlias NO
@end example
to turn off font anti-aliasing.
@node No Makefile, , No characters displayed, Troubleshooting
@subsection No Makefile
I tried to compile something and I get:

View file

@ -26,6 +26,14 @@
# PACKAGE_NAME = gnustep-base
# PACKAGE_VERSION = 1.0.0
#
# For SVN exports, you may want to define something like:
#
# SVN_MODULE_NAME = base
# SVN_BASE_URL = http://svn.gna.org/svn/gnustep/libs
#
# SVN_TAG_NAME is the same as SVN_MODULE_NAME if not set and is used to
# tag and retreive a module version
#
# For CVS exports, you may want to define something like:
#
# CVS_MODULE_NAME = base
@ -71,6 +79,14 @@ ifeq ($(CVS_FLAGS),)
CVS_FLAGS = -z3
endif
ifeq ($(SVN_MODULE_NAME),)
SVN_MODULE_NAME = $(PACKAGE_NAME)
endif
ifeq ($(SVN_TAG_NAME),)
SVN_TAG_NAME = $(SVN_MODULE_NAME)
endif
# Set the cvs command we use. Most of the times, this is 'cvs' and
# you need to do nothing. But you can override 'cvs' with something
# else. Useful for example when you need cvs to go through runsocks
@ -78,6 +94,9 @@ endif
ifeq ($(CVS),)
CVS = cvs
endif
ifeq ($(SVN),)
SVN = svn
endif
#
# You can set COMPRESSION_PROGRAM and COMPRESSION_EXT by hand if your
@ -123,7 +142,7 @@ ARCHIVE_FILE = $(VERSION_NAME).tar$(COMPRESSION_EXT)
VERTAG = $(subst .,_,$(PACKAGE_VERSION))
.PHONY: dist cvs-tag cvs-dist cvs-snapshot internal-cvs-export
.PHONY: dist cvs-tag cvs-dist cvs-snapshot internal-cvs-export svn-tag svn-dist internal-svn-export svn-snapshot
#
# Build a .tar.gz with the whole directory tree
@ -174,6 +193,65 @@ ifneq ($(RELEASE_DIR),)
mv ../$(ARCHIVE_FILE) $(RELEASE_DIR)
endif
#
# Tag the SVN source with the $(SVN_TAG_NAME)-$(VERTAG) tag
#
svn-tag:
$(SVN) copy $(SVN_BASE_URL)/$(SVN_MODULE_NAME)/trunk $(SVN_BASE_URL)/$(SVN_MODULE_NAME)/tags/$(SVN_TAG_NAME)-$(VERTAG)
#
# Build a .tar.gz from the SVN sources using revision/tag
# $(SVN_TAG_NAME)-$(VERTAG)
#
svn-dist: EXPORT_SVN_NAME = tags/$(SVN_TAG_NAME)-$(VERTAG)
svn-dist: internal-svn-export
#
# Build a .tar.gz from the SVN source as they are now
#
svn-snapshot: EXPORT_SVN_NAME = trunk
svn-snapshot: internal-svn-export
internal-svn-export:
@echo "Exporting from module $(SVN_MODULE_NAME) on SVN..."; \
if [ -e $(SVN_MODULE_NAME) ]; then \
echo "*Error* cannot export: $(SVN_MODULE_NAME) already exists"; \
exit 1; \
fi; \
$(SVN) export $(SVN_BASE_URL)/$(SVN_MODULE_NAME)/$(EXPORT_SVN_NAME) $(SVN_MODULE_NAME); \
echo "Generating $(ARCHIVE_FILE)"; \
mv $(SVN_MODULE_NAME) $(VERSION_NAME); \
if [ -f $(ARCHIVE_FILE) ]; then \
echo "$(ARCHIVE_FILE) already exists:"; \
echo "Saving old version in $(ARCHIVE_FILE)~"; \
mv $(ARCHIVE_FILE) $(ARCHIVE_FILE)~; \
fi; \
if [ -f $(VERSION_NAME)/.dist-ignore ]; then \
tar cfX - $(VERSION_NAME)/.dist-ignore $(VERSION_NAME) \
| $(COMPRESSION_PROGRAM) > $(ARCHIVE_FILE); \
else \
tar cf - $(VERSION_NAME) \
| $(COMPRESSION_PROGRAM) > $(ARCHIVE_FILE); \
fi; \
rm -rf $(VERSION_NAME); \
if [ ! -f $(ARCHIVE_FILE) ]; then \
echo "*Error* creating .tar$(COMPRESSION_EXT) archive"; \
exit 1; \
fi;
ifneq ($(RELEASE_DIR),)
@echo "Moving $(ARCHIVE_FILE) to $(RELEASE_DIR)..."; \
if [ ! -d $(RELEASE_DIR) ]; then \
$(MKDIRS) $(RELEASE_DIR); \
fi; \
if [ -f $(RELEASE_DIR)/$(ARCHIVE_FILE) ]; then \
echo "$(RELEASE_DIR)/$(ARCHIVE_FILE) already exists:"; \
echo "Saving old version in $(RELEASE_DIR)/$(ARCHIVE_FILE)~";\
mv $(RELEASE_DIR)/$(ARCHIVE_FILE) \
$(RELEASE_DIR)/$(ARCHIVE_FILE)~;\
fi; \
mv $(ARCHIVE_FILE) $(RELEASE_DIR)
endif
#
# Tag the CVS source with the $(CVS_TAG_NAME)-$(VERTAG) tag
#
@ -232,3 +310,5 @@ ifneq ($(RELEASE_DIR),)
fi; \
mv $(ARCHIVE_FILE) $(RELEASE_DIR)
endif