Package: xfree86 Version: 4.3.0-0pre1v3 Severity: wishlist Note to self: once the bug number is allocated, set submitter to Eduard.
Also, probably also need to use -n flag to ln on at least some of these to get the effect he desires. ----- Forwarded message from Eduard Bloch <[EMAIL PROTECTED]> ----- From: Eduard Bloch <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Allow deliberate usage of "debian/rules binary" Date: Tue, 14 Oct 2003 11:03:12 +0200 Message-ID: <[EMAIL PROTECTED]> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=4.0 tests=BAYES_00 autolearn=ham version=2.60 Hello, currently you cannot run "debian/rules binary" multiple times if you try to rerun a build without wiping the build tree, because it stops somewhere on ln or gzip failure to overwrite files. The change below makes it possible though. --- rules.orig 2003-10-14 10:54:13.000000000 +0200 +++ rules 2003-10-14 10:53:54.000000000 +0200 @@ -201,15 +201,15 @@ # not limited to, -I/usr/include). mkdir -p debian/local/exports/lib mkdir -p debian/local/exports/include/X11/extensions - ln -s /usr/X11R6/lib/libXft* debian/local/exports/lib + ln -sf /usr/X11R6/lib/libXft* debian/local/exports/lib rm -f debian/local/exports/lib/libXft.so.1* debian/local/exports/lib/libXft1* - ln -s /usr/include/X11/Xft debian/local/exports/include/X11 + ln -sf /usr/include/X11/Xft debian/local/exports/include/X11 # Xrender - ln -s /usr/X11R6/lib/libXrender.* debian/local/exports/lib - ln -s /usr/include/X11/extentions/Xrender.h debian/local/exports/include/X11/extentions + ln -sf /usr/X11R6/lib/libXrender.* debian/local/exports/lib + ln -sf /usr/include/X11/extentions/Xrender.h debian/local/exports/include/X11/extentions # Xcursor - ln -s /usr/lib/libXcursor.* debian/local/exports/lib - ln -s /usr/include/X11/Xcursor debian/local/exports/include/X11 + ln -sf /usr/lib/libXcursor.* debian/local/exports/lib + ln -sf /usr/include/X11/Xcursor debian/local/exports/include/X11 ifndef NOT_BUILDING_X_SERVER # create source tree for static, debuggable XFree86 server cp -drl $(SOURCE_TREE) $(SOURCE_TREE)-xserver-xfree86-dbg @@ -217,7 +217,7 @@ $(CC) -Wall -g -O2 -o debian/local/xserver-wrapper debian/local/xserver-wrapper.c endif $(HTML2TEXT) debian/local/xterm.faq.html > debian/local/xterm.faq.text - gzip -9 debian/local/xterm.faq.text + gzip -9f debian/local/xterm.faq.text ifndef test_rules $(MAKE) -C $(SOURCE_TREE) WORLDOPTS="" IMAKE_DEFINES="$(IMAKE_DEFINES)" World ifndef NOT_BUILDING_X_SERVER -- Grüße jeden Dummen, er könnte morgen dein Vorgesetzter sein. ----- End forwarded message ----- -- G. Branden Robinson | I suspect Linus wrote that in a Debian GNU/Linux | complicated way only to be able to [EMAIL PROTECTED] | have that comment in there. http://people.debian.org/~branden/ | -- Lars Wirzenius
signature.asc
Description: Digital signature