cngf-pf

continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
git clone git://src.adamsgaard.dk/cngf-pf # fast
git clone https://src.adamsgaard.dk/cngf-pf.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 1d1a4a362c52237b3a81ebf5cad99b165388a331
parent ae6533011d3ae653fcafd4e08330d5a30c90775d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 23 Nov 2020 13:37:25 +0100

Makefile: add "dist" target

Diffstat:
MMakefile | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -59,6 +59,15 @@ shear_flux: shear_flux.o shear_flux.o\ -o $@ +dist: + rm -rf "${NAME}-${VERSION}" + mkdir -p "${NAME}-${VERSION}" + cp -rf ${MAN1} ${DOC} ${HDR} ${SRC} Makefile test "${NAME}-${VERSION}" + # make tarball + tar cf - "${NAME}-${VERSION}" | \ + gzip -c > "${NAME}-${VERSION}.tar.gz" + rm -rf "${NAME}-${VERSION}" + install: ${BIN} # installing executables mkdir -p ${DESTDIR}${PREFIX}/bin @@ -88,4 +97,4 @@ test: ${BIN} clean: rm -f ${BIN} ${OBJ} test/*.txt -.PHONY: all install uninstall watch test memtest clean +.PHONY: all install uninstall test clean dist