zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: _make support ports/pkgsrc.
Date: 02 Nov 1999 21:34:46 +0900	[thread overview]
Message-ID: <rsqpuxtax7d.fsf@crane.jaist.ac.jp> (raw)

This patch modifies _make to support FreeBSD/OpenBSD's ports and
NetBSD's pkgsrc make entries.

I think it doesn't become a problem on other systems.

Index: Completion/User/_make
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_make,v
retrieving revision 1.1.1.10
diff -u -r1.1.1.10 _make
--- Completion/User/_make	1999/08/19 11:18:37	1.1.1.10
+++ Completion/User/_make	1999/11/02 12:29:31
@@ -20,6 +20,10 @@
 
   _description expl 'make target'
   [[ -n "$file" ]] &&
-    compadd "$expl[@]" - $(awk '/^[a-zA-Z0-9][^\/ 	]+:/ {print $1}' FS=: $file) && ret=0
+    compadd "$expl[@]" - \
+      $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
+	     /^\.include  *<bsd\.port\.(subdir\.|pre\.|)mk>/ || /^\.include  *".*mk\/bsd\.pkg\.(subdir\.|)mk"/ {
+	       print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
+	    FS=: $file) && ret=0
   (( ret )) && { compset -P 1 '*\='; _files }
 fi
-- 
Tanaka Akira


                 reply	other threads:[~1999-11-02 12:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rsqpuxtax7d.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).