mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-11-03 20:54:07 +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
|
||||
EXTRA_DIST = .git_hash
|
||||
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
SUBDIRS =
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
@ -100,8 +101,7 @@ DEB_FILES = \
|
||||
EXTRA_DIST += $(DEB_FILES)
|
||||
|
||||
debian_from_dist: $(DEB_FILES) $(SOURCES) $(trexio_h)
|
||||
VERSION=`echo ../trexio-*.tar.gz | grep -Eo '[[:digit:]].[[:digit:]].[[:digit:]]'` && \
|
||||
cp ../trexio-${VERSION}.tar.gz ../libtrexio_${VERSION}.orig.tar.gz
|
||||
cp ../trexio-$(PACKAGE_VERSION).tar.gz ../libtrexio_$(PACKAGE_VERSION).orig.tar.gz
|
||||
debuild
|
||||
|
||||
# =============== TESTS =============== #
|
||||
|
Loading…
Reference in New Issue
Block a user