From: Duncaen Date: Sun, 5 Jun 2016 11:29:58 +0000 (+0200) Subject: remove version.h and define VERSION in configure script X-Git-Tag: v0.2~4 X-Git-Url: https://git.armaanb.net/?p=opendoas.git;a=commitdiff_plain;h=a55cefe3d13a0e6c66d4d58352bb09e1e8f5282b remove version.h and define VERSION in configure script --- diff --git a/bsd.prog.mk b/bsd.prog.mk index 50bbcb3..0256856 100644 --- a/bsd.prog.mk +++ b/bsd.prog.mk @@ -36,7 +36,6 @@ uninstall: rm -f ${DESTDIR}${MANDIR}/man5/doas.conf.5 clean: - rm -f version.h rm -f libopenbsd.a rm -f ${OPENBSD} rm -f ${OPENBSD:.o=.d} diff --git a/configure b/configure index 0e3fd39..2039151 100755 --- a/configure +++ b/configure @@ -56,6 +56,7 @@ CONFIG_MK=config.mk rm -f "$CONFIG_MK" : ${VERSION:="$(git describe --dirty --tags --long --always)"} +# : ${VERSION:="0.1"} cat <>$CONFIG_MK PREFIX ?= ${PREFIX:="/usr"}