Skip to content

Commit 3ad67d2

Browse files
floklitnyblom
authored andcommitted
src.pro: add target.path and INSTALLS
this allows us to `make install`, with optionally overridable INSTALL_ROOT.
1 parent 0a71ed4 commit 3ad67d2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/src.pro

+9
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string
1919

2020
TEMPLATE = app
2121
TARGET = ../svn-all-fast-export
22+
23+
isEmpty(PREFIX) {
24+
PREFIX = /usr/local
25+
}
26+
BINDIR = $$PREFIX/bin
27+
28+
INSTALLS += target
29+
target.path = $$BINDIR
30+
2231
DEPENDPATH += .
2332
QT = core
2433

0 commit comments

Comments
 (0)