Mercurial > pidgin.yaz
changeset 4196:422512cf6488
[gaim-migrate @ 4427]
Nicola's Lichtmaier (niqueco) asks:
"Why do we need to call a shell and "date" *twice* per
each compiled file in the "oscar" directory?"
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 04 Jan 2003 14:37:33 +0000 |
parents | 4a0837c49d85 |
children | 1817f5d16e83 |
files | src/protocols/oscar/Makefile.am |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/Makefile.am Sat Jan 04 14:32:13 2003 +0000 +++ b/src/protocols/oscar/Makefile.am Sat Jan 04 14:37:33 2003 +0000 @@ -3,7 +3,11 @@ pkgdir = $(libdir)/gaim -CFLAGS += -DAIM_BUILDDATE=\"`date +%Y%m%d`\" -DAIM_BUILDTIME=\"`date +%H%M%S`\" -I\$(top_srcdir)/src $(st) $(DEBUG_CFLAGS) +CURRENT_DATE := $(shell date +%Y%m%d) +CURRENT_TIME := $(shell date +%H%M%S) + +CFLAGS += -DAIM_BUILDDATE=\"$(CURRENT_DATE)\" -DAIM_BUILDTIME=\"$(CURRENT_TIME)\" -I\$(top_srcdir)/src $(st) +$(DEBUG_CFLAGS) liboscar_la_LDFLAGS = -module -avoid-version if STATIC_OSCAR