-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fetch the version from the git tags rather than the version file.
- Loading branch information
Showing
2 changed files
with
1 addition
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ TESTDATA=.testdata | |
LIBNSSCACHE = nss_cache.o compat/getpwent_r.o compat/getgrent_r.o | ||
|
||
SOURCES = Makefile gen_getent.c lookup.c nss_cache.c nss_cache.h nss_test.h COPYING version libnss-cache.spec | ||
VERSION = $(shell cat version) | ||
VERSION = $(shell git describe --tags --always | sed -E 's@.*/([^-]*).*@\1@') | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jaqx0r
via email
Author
Contributor
|
||
|
||
all: $(LIBRARY) | ||
|
||
|
Will this break packaging systems that use the tagged .tar.gz @jaqx0r?