From cab89130aff0f0cd6c81bfe0a2a2a491ebf50671 Mon Sep 17 00:00:00 2001 From: Christoph Knote Date: Fri, 4 Mar 2022 11:11:32 +0100 Subject: [PATCH] Including distcheck --- .gitlab-ci.yml | 11 +++++++++-- Makefile.am | 1 + doc/Makefile.am | 3 +++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f474ff6..6d4a909 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,11 @@ +image: ubuntu:rolling + +cache: + paths: + - .cache/pip + - venv/ + build: - image: ubuntu:rolling before_script: - DEBIAN_FRONTEND=noninteractive apt-get -qq update - DEBIAN_FRONTEND=noninteractive apt-get -qq install wget patch make gcc gfortran flex bison texlive @@ -9,7 +15,8 @@ build: - automake -a -c - ./configure - make - - make dist-gzip + - make dist + - make distcheck artifacts: paths: - boxmox_latest.tar.gz diff --git a/Makefile.am b/Makefile.am index 22e6522..75cc3b6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,6 +30,7 @@ ####################################################################################### SUBDIRS = src doc +EXTRA_DIST = src/bison.h src/code.h src/gdata.h src/gdef.h src/scan.h dist_doc_DATA = README.md doc/kpp_UserManual.pdf doc/boxmox_README.pdf dist_bin_SCRIPTS = scripts/list_BOXMOX_mechanisms \ scripts/new_BOXMOX_experiment \ diff --git a/doc/Makefile.am b/doc/Makefile.am index 3a9d0e8..d8b8043 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -5,4 +5,7 @@ boxmox_README.pdf : boxmox_README.tex @pdflatex@ $< rm -f *.log *.out *.toc *.aux +clean-local: + rm -f boxmox_README.pdf + dist_doc_DATA = boxmox_README.tex boxmox_README.pdf \ No newline at end of file -- GitLab