diff options
Diffstat (limited to 'agi')
-rwxr-xr-x | agi/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/agi/Makefile b/agi/Makefile index 1257e6a78..ee12bc353 100755 --- a/agi/Makefile +++ b/agi/Makefile @@ -18,7 +18,8 @@ CFLAGS+= all: depend $(AGIS) install: all - for x in $(AGIS); do $(INSTALL) -m 755 $$x $(AGI_DIR) ; done + mkdir -p $(DESTDIR)$(AGI_DIR) + for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done eagi-test: eagi-test.o $(CC) -o eagi-test eagi-test.o |