summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-06 13:36:26 +0200
committerErich Eckner <git@eckner.net>2018-06-06 13:36:26 +0200
commit7fb44b4ba1c390b43344642d15a111f2b976a6ab (patch)
tree2d5ce03abda77f3394536447f3d019d1da838d9a /Makefile
parentb4346daf8920e4d51afa96419dd87c94ff3d6fb8 (diff)
downloadarchiso32-7fb44b4ba1c390b43344642d15a111f2b976a6ab.tar.xz
Makefile: upload and dist refurbished
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d524e42..e3a11c1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-V=34
+V=$(shell git describe --exact-match)
INSTALL_FILES=$(wildcard archiso/initcpio/install/*)
HOOKS_FILES=$(wildcard archiso/initcpio/hooks/*)
@@ -35,7 +35,10 @@ install-doc:
install -m 644 -t $(DOC_DIR) $(DOC_FILES)
dist:
- git archive --format=tar --prefix=archiso-$(V)/ v$(V) | gzip -9 > archiso-$(V).tar.gz
- gpg --detach-sign --use-agent archiso-$(V).tar.gz
+ git archive --format=tar --prefix=archiso32-$(V)/ $(V) | gzip -9 > archiso32-$(V).tar.gz
+ gpg --detach-sign --use-agent archiso32-$(V).tar.gz
-.PHONY: install install-program install-initcpio install-examples install-doc dist
+upload:
+ scp archiso32-$(V).tar.gz archiso32-$(V).tar.gz.sig sources.archlinux32.org:sources/
+
+.PHONY: install install-program install-initcpio install-examples install-doc dist upload