[arch-projects] [netctl][PATCH v2] Makefile: add upload target

Jouke Witteveen j.witteveen at gmail.com
Thu Feb 7 16:14:57 EST 2013


On Thu, Feb 7, 2013 at 5:36 PM, Florian Pritz <bluewind at xinu.at> wrote:
> Signed-off-by: Florian Pritz <bluewind at xinu.at>
> ---
>
> Forgot to use the fqdn.
>
>  Makefile | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index ad356e8..b5aca00 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -47,6 +47,11 @@ pkgbuild: PKGBUILD
>  PKGBUILD: netctl-$(VERSION).tar.xz
>         sed -e "s/%pkgver%/$(VERSION)/" -e "s/%md5sum%/$(shell md5sum $< | cut -d ' ' -f 1)/" contrib/PKGBUILD > $@
>
> +upload: netctl-$(VERSION).tar.xz
> +       rm -f $<.sig
> +       gpg --detach-sign $<

We should add *.sig to `make clean` and perhaps drop the rm above.

> +       scp $< $<.sig nymeria.archlinux.org:/srv/ftp/other/packages/netctl

Is that the right server? It used to be gerolde

> +
>  clean:
>         $(MAKE) -C docs clean
>         - at rm -vf PKGBUILD *.xz 2>/dev/null
> --
> 1.8.1.1


More information about the arch-projects mailing list