summaryrefslogtreecommitdiff
path: root/bin/setup
diff options
context:
space:
mode:
Diffstat (limited to 'bin/setup')
-rwxr-xr-xbin/setup41
1 files changed, 0 insertions, 41 deletions
diff --git a/bin/setup b/bin/setup
deleted file mode 100755
index f421cbd..0000000
--- a/bin/setup
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/make -f
-
-CFLAGS += -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter
-
-dirs = \
- $(HOME)/packages/pkgdest \
- $(HOME)/packages/srcdest \
- $(HOME)/packages/srcpkgdest \
- $(HOME)/packages/logdest \
- $(HOME)/packages/builddir
-
-all: \
- $(HOME)/bin/autobuild \
- $(HOME)/.ssh/id_rsa \
- $(HOME)/.ssh/id_rsa.pub \
- $(HOME)/.gnupg/secring.gpg \
- $(HOME)/packages/abslibre \
- $(dirs)
-
-autobuild $(HOME)/bin/autobuild: $(HOME)/bin/autobuild.c
- $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ && chmod 6755 $@
-
-$(HOME)/.ssh/id_rsa $(HOME)/.ssh/id_rsa.pub:
- ssh-keygen -N '' -f $@
-
-$(HOME)/.gnupg/secring.gpg: | $(HOME)/.gitconfig
- printf '%s\n' \
- 'Key-Type: default' \
- 'Subkey-Type: default' \
- "Name-Real: $(git config user.name)" \
- "Name-Email: $(git config user.email)" \
- 'Expire-Date: 0' \
- | gpg --gen-key --batch
-
-$(HOME)/packages/abslibre:
- createworkdir
-
-$(dirs): %:
- mkdir -p -- $@
-
-.DELETE_ON_ERROR: