File: no-configure-ac-date.patch

package info (click to toggle)
phyml 3%3A3.3.20250515-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,096 kB
  • sloc: ansic: 93,774; makefile: 2,507; xml: 418; sh: 45
file content (16 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
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 "echo "3.3." | tr -d '\n' ; echo "20250429" | tr -d '\n'"]),[stephane.guindon@lirmm.fr])
+AC_INIT([PhyML],esyscmd([sh -c "echo "3.3." | tr -d '\n' ; dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | tr -d '\n'"]),[guindon@lirmm.fr])
 AM_INIT_AUTOMAKE([foreign])
 AC_CONFIG_SRCDIR([src/main.c],[doc/phyml-manual.tex])
 AC_CONFIG_HEADERS([config.h])