1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: Roland Stigge <stigge@antcom.de>
Date: Sun, 2 Sep 2018 23:36:29 +0200
Subject: Make it reproducible
---
irsim/Makefile | 2 +-
tcltk/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/irsim/Makefile b/irsim/Makefile
index 5fed03b..973ddec 100644
--- a/irsim/Makefile
+++ b/irsim/Makefile
@@ -8,7 +8,7 @@ EXTRA_LIBS = ${IRSIMDIR}/analyzer/libanalyzer.o \
${IRSIMDIR}/base/libbase.o \
${MAIN_EXTRA_LIBS}
-DFLAGS += -DIRSIM_DATE="\"`date`\""
+DFLAGS += -DIRSIM_DATE="\"`dpkg-parsechangelog -l../debian/changelog --show-field Date`\""
CFLAGS += -I${IRSIMDIR}/base
LIBS += ${GR_LIBS} -lm
diff --git a/tcltk/Makefile b/tcltk/Makefile
index 1ff6caf..0c5c713 100644
--- a/tcltk/Makefile
+++ b/tcltk/Makefile
@@ -7,7 +7,7 @@ include ${IRSIMDIR}/defs.mak
EXTRA_LIBS = ${MAIN_EXTRA_LIBS}
-DFLAGS += -DIRSIM_DATE="\"`date`\""
+DFLAGS += -DIRSIM_DATE="\"`dpkg-parsechangelog -l../debian/changelog --show-field Date`\""
LIBS += ${GR_LIBS} -lm
CLEANS += irsim.sh irsim.tcl irsimexec
SRCS += ${GR_SRCS}
|