]> git.armaanb.net Git - opendoas.git/commitdiff
remove version.h and define VERSION in configure script
authorDuncaen <mail@duncano.de>
Sun, 5 Jun 2016 11:29:58 +0000 (13:29 +0200)
committerDuncaen <mail@duncano.de>
Sun, 5 Jun 2016 12:00:31 +0000 (14:00 +0200)
bsd.prog.mk
configure

index 50bbcb3010e3808bc4b5f8ba9be975cfc51834f7..0256856ff85ca5f4c2f4dd5241f9e31fcb06ff4a 100644 (file)
@@ -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}
index 0e3fd39cf99f3956bd1323032aace2645aba1a12..2039151545ca8388d5b25ad4d652cc40b70bcb75 100755 (executable)
--- 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 <<EOF >>$CONFIG_MK
 PREFIX   ?=    ${PREFIX:="/usr"}