Skip to content

Commit

Permalink
Merge pull request #494 from waterkip/remove-makefile
Browse files Browse the repository at this point in the history
Remove version generation from Makefile by @waterkip
  • Loading branch information
GPaulovics authored Mar 25, 2019
2 parents 60d9968 + 23d8936 commit 9cda11d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion LASTPASS-VERSION-GEN
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ else
fi
test "$VN" = "$VC" || {
echo >&2 "LASTPASS_CLI_VERSION =$VN"
echo >&2 "LASTPASS_CLI_USERAGENT = $VN"
echo "#define LASTPASS_CLI_VERSION \"$VN\"" >$LPVF
echo "#define LASTPASS_CLI_USERAGENT \"LastPass-CLI/\" LASTPASS_CLI_VERSION" >>$LPVF
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ uninstall: $(CMAKEMAKE)
$(MAKE) -C $(BUILDDIR) uninstall

$(CMAKEMAKE):
./LASTPASS-VERSION-GEN && mkdir -p $(BUILDDIR) && cd $(BUILDDIR) && cmake $(CMAKEOPTS) ..
mkdir -p $(BUILDDIR) && cd $(BUILDDIR) && cmake $(CMAKEOPTS) ..

.PHONY: all doc-man clean $(CMAKEMAKE)

0 comments on commit 9cda11d

Please sign in to comment.