# HG changeset patch # User Luke Schierer # Date 1041691053 0 # Node ID 422512cf64882ed3e21731c7c1becb8f9e7e7dfb # Parent 4a0837c49d855d8abcca52503e7ca33afc0a0827 [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 diff -r 4a0837c49d85 -r 422512cf6488 src/protocols/oscar/Makefile.am --- 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