git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Clean generated files a bit more.

From
Petr Baudis <pasky@suse.cz>
Date
Aug 12, 2005, 11:40 UTC
Message-ID
<20050812114053.GB29893@pasky.ji.cz>
In-Reply-To
<7v8xz75w6p.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Fri, Aug 12, 2005 at 11:41:34AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...

Show 24 quoted lines
> Also attempt to build a source package for debian.
> ---
> 
>  Makefile |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> b263f24ce4f12dd39cfcd922c56a32292c6232c9
> diff --git a/Makefile b/Makefile
> --- a/Makefile
> +++ b/Makefile
> @@ -238,14 +238,14 @@ rpm: dist
>  deb: dist
>  	rm -rf $(GIT_TARNAME)
>  	tar zxf $(GIT_TARNAME).tar.gz
> +	dpkg-source -b $(GIT_TARNAME)
>  	cd $(GIT_TARNAME) && fakeroot debian/rules binary
>  
>  ### Cleaning rules
>  
>  clean:
>  	rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(LIB_FILE)
> -	rm -f $(GIT_TARNAME).tar.gz git-core.spec
> -	rm -f git-core_$(GIT_VERSION)-*.deb git-tk_$(GIT_VERSION)-*.deb
> +	rm -f git-core.spec *.deb *.dsc *.tar.gz 

This makes me a bit nervous - why are you making the rules more general? make clean removing random tarballs of mine happenning to dwell in that directory is fearsome.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “Clean generated files a bit more.”
  1. Clean generated files a bit more.Junio C Hamano, Aug 12, 2005
  2. Petr BaudisAug 12, 2005
  3. Junio C HamanoAug 12, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.