]> git.lizzy.rs Git - bspwm.git/commitdiff
Fix VERSION definition in Makefile
authorBastien Dejean <nihilhill@gmail.com>
Tue, 15 Mar 2016 16:06:25 +0000 (17:06 +0100)
committerBastien Dejean <nihilhill@gmail.com>
Tue, 15 Mar 2016 16:06:25 +0000 (17:06 +0100)
Fixes #414

Makefile
doc/bspwm.1

index 57939ad8c6ee9b6014cdfe42397836677ac7e558..841518cddc0533a07f6a9e67db4bd8755db75b42 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = $(shell git describe || cat VERSION)
+VERSION := $(shell git describe 2> /dev/null || cat VERSION)
 
 CPPFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
 CFLAGS   += -std=c99 -pedantic -Wall -Wextra
index e63a7ffde102c688dc6f22e3e8f62b807a4d511c..1ce45d4a0ccdae583b1c51b4d51a56fdba71b31e 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: bspwm
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 02/22/2016
+.\"      Date: 03/15/2016
 .\"    Manual: Bspwm Manual
-.\"    Source: Bspwm 0.9-130-g21f92ab
+.\"    Source: Bspwm 0.9.1
 .\"  Language: English
 .\"
-.TH "BSPWM" "1" "02/22/2016" "Bspwm 0\&.9\-130\-g21f92ab" "Bspwm Manual"
+.TH "BSPWM" "1" "03/15/2016" "Bspwm 0\&.9\&.1" "Bspwm Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------