Commit f3e12f6
Ensure PACKAGE_VERSION is set in the Makefile
In git repositories, this is set by expanding
$(shell git describe --always --dirty).
As this is not in a normal Makefile rule, failure just results in an
empty variable. To check that it really was set, add a check to
ensure it's not empty in the rule that builds the version.h file.
Signed-off-by: Rob Davies <rmd+git@sanger.ac.uk>1 parent 15a4091 commit f3e12f6
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
134 | 140 | | |
135 | 141 | | |
136 | 142 | | |
| |||
0 commit comments