Re: [Reproducible-builds] Bug#786846: alt-ergo: [PATCH] please make the build reproducible - set build date

2015-05-26 Thread Jérémy Bobbio
Juan Picca:
 --- a/Makefile.users
 +++ b/Makefile.users
 @@ -1,4 +1,5 @@
  ARCH = $(shell uname -m)
 +BUILD_DATE = $(shell LANG=en_US; date)

I would use `?=` instead of `=` here to highlight that it can be preset.

I'm actually suprised that it works like this, but tests confirmed it.
But hey, you learn every day:
https://www.gnu.org/software/make/manual/html_node/Overriding.html
Thanks Juan. :)

-- 
Lunar.''`. 
lu...@debian.org: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#786846: alt-ergo: [PATCH] please make the build reproducible - set build date

2015-05-26 Thread Juan Picca
Hi Jérémy!
Thanks for your comments, i will change it soon.
Maybe we need change too the wiki pages as
https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx
?
Greetings

On Tue, May 26, 2015 at 5:29 AM, Jérémy Bobbio lu...@debian.org wrote:
 Juan Picca:
 --- a/Makefile.users
 +++ b/Makefile.users
 @@ -1,4 +1,5 @@
  ARCH = $(shell uname -m)
 +BUILD_DATE = $(shell LANG=en_US; date)

 I would use `?=` instead of `=` here to highlight that it can be preset.

 I'm actually suprised that it works like this, but tests confirmed it.
 But hey, you learn every day:
 https://www.gnu.org/software/make/manual/html_node/Overriding.html
 Thanks Juan. :)

 --
 Lunar.''`.
 lu...@debian.org: :Ⓐ  :  # apt-get install anarchism
 `. `'`
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#786846: alt-ergo: [PATCH] please make the build reproducible - set build date

2015-05-26 Thread Juan Picca
Please, ignore the previous email.
I did not realize that the set of the variable is in debian/rules.

On Tue, May 26, 2015 at 7:45 AM, Juan Picca jumap...@gmail.com wrote:
 Hi Jérémy!
 Thanks for your comments, i will change it soon.
 Maybe we need change too the wiki pages as
 https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx
 ?
 Greetings

 On Tue, May 26, 2015 at 5:29 AM, Jérémy Bobbio lu...@debian.org wrote:
 Juan Picca:
 --- a/Makefile.users
 +++ b/Makefile.users
 @@ -1,4 +1,5 @@
  ARCH = $(shell uname -m)
 +BUILD_DATE = $(shell LANG=en_US; date)

 I would use `?=` instead of `=` here to highlight that it can be preset.

 I'm actually suprised that it works like this, but tests confirmed it.
 But hey, you learn every day:
 https://www.gnu.org/software/make/manual/html_node/Overriding.html
 Thanks Juan. :)

 --
 Lunar.''`.
 lu...@debian.org: :Ⓐ  :  # apt-get install anarchism
 `. `'`
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds