Skip to content

Commit

Permalink
Merge pull request #13 from tmmcguire/fix-install-directories
Browse files Browse the repository at this point in the history
Create directory paths before calling install.
  • Loading branch information
wryun committed Jun 26, 2015
2 parents fdf29d5 + 377e13d commit 2fc4b45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ srcdir = @srcdir@
SHELL = /bin/sh
CC = @CC@
INSTALL = @INSTALL@
MKDIR_P = @MKDIR_P@


## Bison is generating incorrect parsers. So do not use, for now
Expand Down Expand Up @@ -82,7 +83,9 @@ MANIFEST:
find . -type f | sed s/..// > MANIFEST

install : es
$(MKDIR_P) $(bindir)
$(INSTALL) -s $(srcdir)/es $(bindir)
$(MKDIR_P) $(mandir)/man1
$(INSTALL) $(srcdir)/doc/es.1 $(mandir)/man1

test : trip
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dnl saved_CFLAGS="$CFLAGS"
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MKDIR_P
AC_PROG_YACC

dnl CFLAGS="$CFLAGS $saved_CFLAGS"
Expand Down

0 comments on commit 2fc4b45

Please sign in to comment.