This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New program: cygtweak


On Sat, Sep 27, 2003 at 12:42:50PM -0400, Igor Pechtchanski wrote:
> The only thing I didn't test were the rules in the Makefile,
> so if someone could please double-check them, it'd be great. 

> Index: winsup/utils/Makefile.in
> ===================================================================
> RCS file: /cvs/src/src/winsup/utils/Makefile.in,v
> retrieving revision 1.53
> diff -u -p -r1.53 Makefile.in
> --- winsup/utils/Makefile.in	12 Sep 2003 01:51:21 -0000	1.53
> +++ winsup/utils/Makefile.in	27 Sep 2003 16:24:54 -0000
> @@ -84,12 +84,17 @@ PROGS:=warn_dumper $(PROGS)
>  CLEAN_PROGS+=dumper.exe
>  endif
>  
> +PROGS+=cygprogctl
> +
>  .SUFFIXES:
>  .NOEXPORT:
>  
>  .PHONY: all install clean realclean warn_dumper
>  
>  all: Makefile $(PROGS)
> +
> +cygprogctl: $(srcdir)/cygprogctl
> +	cp -p $< $@
>  
>  strace.exe: strace.o path.o $(MINGW_DEP_LDLIBS)
>  ifdef VERBOSE

Wouldn't it be sufficient to add $(srcdir)/cygprogctl to PROGS and to
drop the copy rule?  The script only needs installing and that should
work then.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]