Skip to content

Commit

Permalink
Include debian helper files in the tarball + bump the patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
q-posev committed Sep 29, 2022
1 parent db3f989 commit 8cc4f84
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16)

# Initialize the CMake project.
project(Trexio
VERSION 2.2.2
VERSION 2.2.3
DESCRIPTION "TREX I/O library"
LANGUAGES C Fortran
)
Expand Down
41 changes: 23 additions & 18 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CLEANFILES = trexio.mod
if HAVE_FORTRAN
BUILT_SOURCES = trexio.mod
else
BUILT_SOURCES =
BUILT_SOURCES =
endif
EXTRA_DIST = .git_hash

Expand Down Expand Up @@ -182,6 +182,28 @@ $(HTML_TANGLED): $(htmlizer)
html-local: $(dist_html_DATA)
doc: html-local

# =============== DEBIAN =============== #

# Include files needed to produce the debian package.
DEB_FILES = \
helpers-debian/changelog \
helpers-debian/compat \
helpers-debian/control \
helpers-debian/copyright \
helpers-debian/rules \
helpers-debian/source \
helpers-debian/libtrexio0.install \
helpers-debian/libtrexio-dev.install \
helpers-debian/source \
helpers-debian/README.source

EXTRA_DIST += $(DEB_FILES)

debian_from_dist: $(DEB_FILES) $(SOURCES) $(trexio_h)
cp ../trexio-$(PACKAGE_VERSION).tar.gz ../libtrexio_$(PACKAGE_VERSION).orig.tar.gz
debuild


# =============== DEVELOPER MODE =============== #

SWIG = @SWIG@
Expand Down Expand Up @@ -290,23 +312,6 @@ $(numpy_i):
check-numpy:
cd tools && ./check_numpy_i.sh

# Include files needed to produce the debian package.
DEB_FILES = \
helpers-debian/changelog \
helpers-debian/compat \
helpers-debian/control \
helpers-debian/copyright \
helpers-debian/rules \
helpers-debian/source \
helpers-debian/libtrexio0.install \
helpers-debian/libtrexio-dev.install \
helpers-debian/source \
helpers-debian/README.source

debian_from_dist: $(DEB_FILES) $(SOURCES) $(trexio_h)
cp ../trexio-$(PACKAGE_VERSION).tar.gz ../libtrexio_$(PACKAGE_VERSION).orig.tar.gz
debuild


CLEANFILES += $(pytrexio_c) \
$(pytrexio_py) \
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([trexio],[2.2.2],[https://github.com/TREX-CoE/trexio/issues])
AC_INIT([trexio],[2.2.3],[https://github.com/TREX-CoE/trexio/issues])

AC_CONFIG_SRCDIR([Makefile.in])
AC_CONFIG_HEADERS([include/config.h])
Expand Down

0 comments on commit 8cc4f84

Please sign in to comment.