add copy header files to install rule

This commit is contained in:
Pedro 2017-03-11 13:47:35 +01:00
parent 137f273410
commit 589a251ed7
3 changed files with 6 additions and 2 deletions

View File

@ -49,6 +49,9 @@ cleanall: clean cleanparser
install:
cp $(TARGET) $(INSTALL)/lib/$(TARGET)
cp -r src $(INSTALL)/include/hsql
find $(INSTALL)/include/hsql -not -name '*.h' -type f | xargs rm
format:
astyle --options=astyle.options $(ALLLIB)

View File

@ -36,7 +36,7 @@ To use the SQL parser in your own projects you simply have to follow these few s
First step to extending this parser is cloning the repository `git clone git@github.com:hyrise/sql-parser.git` and making sure everything works by running the following steps:
```
```bash
make parser # builds the bison parser and flex lexer
make library # builds the libsqlparser.so
make test # runs the tests with the library
@ -44,7 +44,7 @@ make test # runs the tests with the library
Rerun these steps whenever you change part of the parse. To execute the entire pipeline automatically you can run:
```
```bash
make cleanall # cleans the parser build and library build
make test # build parser, library and runs the tests
```

View File

@ -32,6 +32,7 @@ fi
printf "\n${GREEN}Running memory leak checks...${NC}\n"
valgrind --leak-check=full --error-exitcode=200 --log-fd=3 \
./bin/sql_tests -f "test/valid_queries.sql" 3>&1 >/dev/null 2>/dev/null
MEM_LEAK_RET=$?
if [ $MEM_LEAK_RET -ne 200 ]; then
printf "${GREEN}Memory leak check succeeded!${NC}\n"