Avoid build tools messing with VCS or packaging
authorJonas Smedegaard <dr@jones.dk>
Tue, 5 Nov 2019 10:48:04 +0000 (19:48 +0900)
committerBoyuan Yang <byang@debian.org>
Fri, 6 Mar 2020 03:10:07 +0000 (03:10 +0000)
Last-Update: 2016-05-25

Last-Update: 2016-05-25

Gbp-Pq: Name 2002_avoid_upstream_git_or_pkg.patch

configure.ac

index 9958f6b02ce1ce2e469d28b5b928d63c6865ec5c..10e0a82e5b36089996b8168cfca6c5d884ff25e1 100644 (file)
@@ -719,9 +719,9 @@ AC_CONFIG_FILES([tests/atlocal])
 # Collect "GIT" compile-time information to help when debugging FontForge.
 
 FONTFORGE_GIT_VERSION=""
-if test -d ${srcdir}/.git; then
-  FONTFORGE_GIT_VERSION=`cd ${srcdir} && git log --pretty=format:'%H' -n 1`
-fi
+dnl if test -d ${srcdir}/.git; then
+dnl   FONTFORGE_GIT_VERSION=`cd ${srcdir} && git log --pretty=format:'%H' -n 1`
+dnl fi
 FONTFORGE_DATE_NOW=${SOURCE_DATE_EPOCH:-$(date +'%s')}
 FONTFORGE_DATE_OPTS="--date=@${FONTFORGE_DATE_NOW}"
 if ! date --version 2>/dev/null ; then