Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

completions for make targets?



Hi all,

I am a zsh newbie still struggling to understand the power of compctl. I
have one requirement. How can I use compctl to complate make targets? I
can illustrate my requirements:
suppose I have 'Makefile' in my current directory with targets
xx:
yy:
zz:
clean:
clobber:
now I want to program compctl in such a way that $make <TAB> will list all
the targets for make.

Any help will be welcome.

Thanks and regards,
Raju
p.s.: Since I am not subscribed to the list, please CC me in your replies.



Messages sorted by: Reverse Date, Date, Thread, Author