petsc-git-PKGBUILD

build template for non-complex PETSC with petsc4py
git clone git://src.adamsgaard.dk/petsc-git-PKGBUILD # fast
git clone https://src.adamsgaard.dk/petsc-git-PKGBUILD.git # slow
Log | Files | Refs Back to index

commit d209fd57614dd0244056a067941e70cfb86120c8
parent 15c63c47d1b86b7419f057ba7453b1654c68e150
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  3 Jan 2022 11:26:56 +0100

Makefile: add update target

Diffstat:
MMakefile | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -6,4 +6,7 @@ default: clean: makepkg -c -.PHONY: default clean- \ No newline at end of file +update: + makepkg --printsrcinfo > .SRCINFO && git add PKGBUILD .SRCINFO && git commit -a -m 'update version' && git push + +.PHONY: default clean update+ \ No newline at end of file