diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..539f0b4dfdc6 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +nam = $(shell sed -n 's/^_pkgname=//p' PKGBUILD) +src = PKGBUILD +inf = .SRCINFO + +all: sum $(inf) check + +$(inf): $(src) + makepkg --printsrcinfo >$@ + +check: $(src) + namcap $^ + +sum: $(src) + updpkgsums + +clean: + rm -rf $(inf) $(nam)-* *.tar.xz *.tar.gz pkg/ src/ *.part + +# vim: se ts=4: |