Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[joshk@xxxxxxxxxxxxxxx: Bug#271196: makefile completion catches some delayed expansions as targets]
- X-seq: zsh-workers 20355
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: [joshk@xxxxxxxxxxxxxxx: Bug#271196: makefile completion catches some delayed expansions as targets]
- Date: Sat, 11 Sep 2004 19:16:28 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I can reproduce this, but only if use-perl is off.
----- Forwarded message from Joshua Kwan <joshk@xxxxxxxxxxxxxxx> -----
I have this in a debian/rules file:
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS := -g -O0 -Wall
else
CFLAGS := -g -O2 -Wall
endif
Completion shows:
% make -f debian/rules
CFLAGS build-arch build-stamp-indep
binary build-indep clean
build build-stamp-arch install
CFLAGS shouldn't get flagged as a target.
The complete debian/rules is attached.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (499, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-rc1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (ignored: LC_ALL set to en_US.UTF-8)
Versions of packages zsh depends on:
ii debconf 1.4.34 Debian configuration management sy
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii passwd 1:4.0.3-30.1 Change and administer password and
-- debconf information excluded
#!/usr/bin/make -f
# debian/rules for devscripts, based on the example file rules.indep.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS := -g -O0 -Wall
else
CFLAGS := -g -O2 -Wall
endif
# Here we perform some checks to ensure that we haven't goofed or left
# debugging code around or ... before we build the package
test: test-stamp
test-stamp:
# debugging info in bts?
if grep -q '\$$debug *= *1' bts.pl; then exit 1; else exit 0; fi
touch test-stamp
build-indep: build-stamp-indep
build-stamp-indep: test-stamp
dh_testdir
touch build-stamp-indep
build-arch: build-stamp-arch
build-stamp-arch: test-stamp
dh_testdir
$(MAKE) CFLAGS='$(CFLAGS)'
touch build-stamp-arch
build: build-arch build-indep
clean:
dh_testdir
dh_testroot
-$(MAKE) clean
rm -f build-stamp* test-stamp
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/devscripts install
# Build architecture-independent files here.
binary-indep: build-indep
# We have nothing to do
# Build architecture-dependent files here.
binary-arch: build-arch install
dh_testdir
dh_testroot
dh_installdocs README
dh_installexamples
# This is now done by the make install command above
# dh_installman
dh_link /usr/share/devscripts/conf.default \
/usr/share/doc/devscripts/devscripts.conf.ex
dh_installchangelogs
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build-arch build-indep build clean binary-indep binary-arch binary \
install
# Local variables:
# mode: makefile
# End:
----- End forwarded message -----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author