Skip to content
Permalink
Browse files

makefile

  • Loading branch information...
aaalgo committed Nov 18, 2014
1 parent 7825cbc commit eaa1cfaef1c4fd19e62f9276cf31417499e84cf2
Showing with 7 additions and 7 deletions.
  1. +2 −2 Makefile
  2. +4 −4 make-release-vagrant.sh
  3. +1 −1 version
@@ -22,7 +22,7 @@ NABO_PROGS=nabo_search
all: libkgraph.so $(PROGS) $(FLANN_PROGS)
echo $(BUILD_INFO)

RELEASE=kgraph-$(VERSION)-$(BUILD_NUMBER)
RELEASE=kgraph-release
RELEASE_SRC=Makefile LICENSE kgraph.h kgraph-data.h index.cpp prune.cpp search.cpp flann_index.cpp flann_search.cpp split.cpp fvec2lshkit.cpp
RELEASE_BIN=libkgraph.so $(PROGS) $(FLANN_PROGS)

@@ -34,7 +34,7 @@ release: all
mkdir $(RELEASE)/bin
cp $(RELEASE_BIN) $(RELEASE)/bin
cp -r python $(RELEASE)/
tar zcf $(RELEASE).tar.gz $(RELEASE)
#tar zcf $(RELEASE).tar.gz $(RELEASE)

$(PROGS) $(EXTRA_PROGS): %: %.cpp $(HEADERS) $(COMMON)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $*.cpp $(COMMON) $(LDLIBS)
@@ -1,13 +1,13 @@
#!/bin/bash

rm -rf vagrant
git clone /vagrant
cd vagrant
rm -rf kgraph
git clone /vagrant/kgraph
cd kgraph
make
make release
version=`cat version`
release=kgraph-$version-x86_64
rm -rf $release
mv kgraph-release $release
tar zcvf $release.tar.gz $release
cp $release.tar.gz /vagrant
cp $release.tar.gz /vagrant/kgraph
@@ -1 +1 @@
1.2
2.0-pre

0 comments on commit eaa1cfa

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.