mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 10:06:01 +01:00
Use PACKAGE_VERSION substitution variable
This commit is contained in:
parent
df34fad0cf
commit
28f2788ffe
@ -37,6 +37,7 @@ CLEANFILES = trexio.mod
|
|||||||
BUILT_SOURCES = trexio.mod
|
BUILT_SOURCES = trexio.mod
|
||||||
EXTRA_DIST = .git_hash
|
EXTRA_DIST = .git_hash
|
||||||
|
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
SUBDIRS =
|
SUBDIRS =
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
@ -100,8 +101,7 @@ DEB_FILES = \
|
|||||||
EXTRA_DIST += $(DEB_FILES)
|
EXTRA_DIST += $(DEB_FILES)
|
||||||
|
|
||||||
debian_from_dist: $(DEB_FILES) $(SOURCES) $(trexio_h)
|
debian_from_dist: $(DEB_FILES) $(SOURCES) $(trexio_h)
|
||||||
VERSION=`echo ../trexio-*.tar.gz | grep -Eo '[[:digit:]].[[:digit:]].[[:digit:]]'` && \
|
cp ../trexio-$(PACKAGE_VERSION).tar.gz ../libtrexio_$(PACKAGE_VERSION).orig.tar.gz
|
||||||
cp ../trexio-${VERSION}.tar.gz ../libtrexio_${VERSION}.orig.tar.gz
|
|
||||||
debuild
|
debuild
|
||||||
|
|
||||||
# =============== TESTS =============== #
|
# =============== TESTS =============== #
|
||||||
|
Loading…
Reference in New Issue
Block a user