diff options
author | Branden Robinson <branden@sisyphus.(none)> | 2007-04-12 23:18:32 -0400 |
---|---|---|
committer | Branden Robinson <branden@sisyphus.(none)> | 2007-04-12 23:18:32 -0400 |
commit | 271778bd6338575afa3e4ae7f614f38cdff8e2fb (patch) | |
tree | 4508c3afbb9f1e40424af8ead83c022e4b0d5888 | |
parent | 72811b4cede7275a35d36b44bcb5f431a8aa0133 (diff) | |
download | xutils-dev-271778bd6338575afa3e4ae7f614f38cdff8e2fb.tar.gz |
Test for existence of debian/patches directory before creating a symlink to it.
This prevents packages that apply no patches from ending up with a broken
symlink in them.
Remove SVN keyword.
Update copyright notice.
-rwxr-xr-x | debian/xsfbs/xsfbs.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/xsfbs/xsfbs.mk b/debian/xsfbs/xsfbs.mk index d88c6db..63dde45 100755 --- a/debian/xsfbs/xsfbs.mk +++ b/debian/xsfbs/xsfbs.mk @@ -1,11 +1,10 @@ #!/usr/bin/make -f -# $Id$ -# Debian rules file for xorg-x11 source package +# Debian X Strike Force Build System (XSFBS): Make portion # Copyright 1996 Stephen Early # Copyright 1997 Mark Eichin -# Copyright 1998-2005 Branden Robinson +# Copyright 1998-2005, 2007 Branden Robinson # Copyright 2005 David Nusinow # # Licensed under the GNU General Public License, version 2. See the file @@ -127,7 +126,7 @@ $(STAMP_DIR)/prepare: $(STAMP_DIR)/stampdir if [ ! -e $(STAMP_DIR)/log ]; then \ mkdir $(STAMP_DIR)/log; \ fi; \ - if [ ! -e patches ]; then \ + if [ -e debian/patches ] && [ ! -e patches ]; then \ ln -s debian/patches patches; \ fi; \ >$@ |