1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Author: Kevin Murray
Last-Update: 2016-03-02
Description: Enable reproducible build based on version number
rather than build date
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-AC_INIT([PhyML],esyscmd([sh -c "date \"+%Y%m%d\" | tr -d '\n'"]),[s.guindon@auckland.ac.nz])
+AC_INIT([PhyML],esyscmd([sh -c "dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | tr -d '\n'"]),[s.guindon@auckland.ac.nz])
AM_INIT_AUTOMAKE([foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|