aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-16 23:30:30 -0300
committerEuAndreh <eu@euandre.org>2021-06-16 23:30:30 -0300
commit5d814bbe5220fd4b2266a7feb03dc5a92edd2985 (patch)
treef07f6b837a1d89658d7fddf027559c3e3bacd772
parentd0295861b1d2013c3b5ff2066122840a479e8412 (diff)
downloadautoqemu-5d814bbe5220fd4b2266a7feb03dc5a92edd2985.tar.gz
Makefile: Adapt to changes in aux/
-rw-r--r--Makefile25
1 files changed, 12 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index c01995a..43b08c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
.POSIX:
-PREFIX = /usr/local
-MANPREFIX = $(PREFIX)/share/man
-DATE = 1970-01-01
-VERSION = 0.1.0
-NAME = autoqemu
+PREFIX = /usr/local
+MANPREFIX = $(PREFIX)/share/man
+DATE = 1970-01-01
+VERSION = 0.1.0
+NAME = autoqemu
+NAME_UC = AutoQEMU
+MAILING_LIST = standardify
scripts = scripts/autoqemu
@@ -24,16 +26,15 @@ manpages = doc/autoqemu.1
all:
scripts/autoqemu: scripts/autoqemu.in
- $(do_subst) < $? > $@-t
- chmod +x $@-t
- mv $@-t $@
+ $(do_subst) < $? > $@
+ chmod +x $@
check:
sh tests/autoqemu-cli-opts.sh
dev-check: check
sh aux/assert-shellcheck.sh
- sh aux/workflow/assert-changelog.sh $(NAME)
+ sh aux/workflow/assert-changelog.sh $(NAME_UC) $(NAME)
sh aux/workflow/assert-todos.sh
do_subst = sed \
@@ -59,10 +60,8 @@ clean:
rm -rf public/ scripts/autoqemu
dist:
- sh aux/workflow/dist.sh $(DATE) $(VERSION) $(NAME)
+ sh aux/workflow/dist.sh $(DATE) $(VERSION) $(NAME_UC) $(NAME) $(MAILING_LIST)
public:
- sh aux/workflow/public.sh AutoQEMU $(NAME) standardify
+ sh aux/workflow/public.sh $(NAME_UC) $(NAME) $(MAILING_LIST)
for m in $(manpages); do groff -m man -Thtml $$m > public/`basename $$m`.html; done
-
-.PHONY: all clean check dev-check dist install uninstall