aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2020-09-05 19:42:03 -0700
committerH. Peter Anvin <hpa@zytor.com>2020-09-05 19:42:03 -0700
commitc289f885b8d15e4d92c567a5033b9eb23757e0e9 (patch)
tree62ed71ec814a9b2c02fcce2a79efcf09865bfcb4
parent8837675852ecd7a5c743186af7a4bc7073c14810 (diff)
downloadabcdisk-c289f885b8d15e4d92c567a5033b9eb23757e0e9.tar.gz
abcdisk-c289f885b8d15e4d92c567a5033b9eb23757e0e9.tar.xz
abcdisk-c289f885b8d15e4d92c567a5033b9eb23757e0e9.zip
Add "make install"
-rw-r--r--Makefile.in4
-rw-r--r--configure.ac1
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 4e9f36e..b54926b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -19,6 +19,7 @@ MKDIR = @MKDIR_P@
PERL = perl
RM_F = rm -f
Z80ASM = @Z80ASM@
+INSTALL = @INSTALL@
O = @OBJEXT@
X = @EXEEXT@
@@ -104,3 +105,6 @@ allclean: clean asmclean confclean
spotless: allclean confclean
rm -f config/configure config/aclocal.m4 \
config/config.h.in config/unconfig.h
+
+install: all
+ $(INSTALL) $(EXE) $(bindir)
diff --git a/configure.ac b/configure.ac
index 36defa4..d4fc68c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -120,6 +120,7 @@ AC_SUBST(EXTRA_PROGS)
dnl Programs
AC_PROG_MKDIR_P
+AC_PROG_INSTALL
dnl To build the assembly sources, we need z80asm from z88dk
_pa_check_z80asm='z88dk/z80asm z88dk-z80asm z80asm'