tMakefile: add update target - petsc-git-PKGBUILD - build template for non-complex PETSC with petsc4py
(HTM) git clone git://src.adamsgaard.dk/petsc-git-PKGBUILD
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit d209fd57614dd0244056a067941e70cfb86120c8
(DIR) parent 15c63c47d1b86b7419f057ba7453b1654c68e150
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 3 Jan 2022 11:26:56 +0100
Makefile: add update target
Diffstat:
M Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -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