Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c4ceb2f..f8f2374 100644
--- a/Makefile
+++ b/Makefile
@@ -30,4 +30,26 @@ install-profiles:
install-doc:
install -vDm 644 $(DOC_FILES) -t $(DOC_DIR)
-.PHONY: check install install-doc install-profiles install-scripts shellcheck
+uninstall: uninstall-scripts uninstall-profiles uninstall-doc
+
+uninstall-scripts:
+ -rm -rf "${BIN_DIR}/mkarchiso"
+ -rm -rf "${BIN_DIR}/run_archiso"
+
+uninstall-profiles:
+ -rm -rf "${PROFILE_DIR}"
+
+uninstall-doc:
+ -rm -rf "${DOC_DIR}"
+
+
+V=$(shell git describe --exact-match)
+
+dist:
+ git archive --format=tar --prefix=archiso32-$(V)/ $(V) | gzip -9 > archiso32-$(V).tar.gz
+ gpg --detach-sign --use-agent archiso32-$(V).tar.gz
+
+upload:
+ scp archiso32-$(V).tar.gz archiso32-$(V).tar.gz.sig sources.archlinux32.org:sources/
+
+.PHONY: check install install-doc install-profiles install-scripts shellcheck dist upload