diff options
author | Daniel Albers | 2024-02-19 01:06:10 +0100 |
---|---|---|
committer | Daniel Albers | 2024-02-19 01:06:10 +0100 |
commit | e6fd9bed01894d0f06cab09832308a0dcf208f4e (patch) | |
tree | 209670dc25cfbadf7367f44452f8940980ed3965 /Makefile | |
parent | d7f3cccc69948caffb64b64a04e0383498fdfb7c (diff) | |
download | aur-e6fd9bed01894d0f06cab09832308a0dcf208f4e.tar.gz |
Add accidentally removed rsync makedep back
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -4,21 +4,15 @@ PKG:=$(lastword $(subst /, ,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))) all: src -clean: - rm -rf .SRCINFO \ - ${PKG}.git \ - PKGBUILD \ - src +clean: .SRCINFO ${PKG}.git PKGBUILD src + rm -Rf $^ upload: .${PKG}.git .SRCINFO - rm -f .git - ln -s $</.git . - git commit -am 'bump' - git push origin master - rm .git + GIT_DIR=$< GIT_WORK_TREE=$(@D) git commit -a + GIT_DIR=$< GIT_WORK_TREE=$(@D) git push origin master .%.git: - git clone ssh://aur@aur.archlinux.org/$* $@ + git clone --bare ssh://aur@aur.archlinux.org/$* $@ src: PKGBUILD makepkg -do |