Skip to content

Commit

Permalink
Fix out-of-tree build
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Dec 4, 2012
1 parent 1ba0871 commit a9b6b9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Makefile.am
Expand Up @@ -63,6 +63,9 @@ $(SPEC): $(SPEC).in .version
dirty="" && \
numcomm="0"; \
else \
if [ ! -d .git ]; then \
export GIT_DIR="$(abs_srcdir)/.git";\
fi && \
gitver="$(shell git describe --abbrev=4 --match='v*' HEAD 2>/dev/null)" && \
rpmver=`echo $$gitver | sed -e "s/^v//" -e "s/-.*//g"` && \
alphatag=`echo $$gitver | sed -e "s/.*-//" -e "s/^g//"` && \
Expand Down Expand Up @@ -122,6 +125,9 @@ $(DEBCHANGELOG): $(DEBCHANGELOG).in .version
dirty="" && \
numcomm="0"; \
else \
if [ ! -d .git ]; then \
export GIT_DIR="$(abs_srcdir)/.git";\
fi && \
gitver="$(shell git describe --abbrev=4 --match='v*' HEAD 2>/dev/null)" && \
debver=`echo $$gitver | sed -e "s/^v//" -e "s/-.*//g"` && \
alphatag=`echo $$gitver | sed -e "s/.*-//" -e "s/^g//"` && \
Expand Down
2 changes: 0 additions & 2 deletions TODO
Expand Up @@ -23,8 +23,6 @@ find a way to autodetect the new ip on that interface

Implement link auth via user/passwd

check build out-of-tree for spec file

general:
add log to vty:
- config (per subsystem/total)
Expand Down

0 comments on commit a9b6b9a

Please sign in to comment.