projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow to specify build dir via make O=<dir>.
[paraslash.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index 52058012114c2e47de4c3c23095a0faf013dfa61..39c938caca3829af440901e52d40183bd104c80e 100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-24,7
+24,11
@@
GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h)
m4_ggo_dir := m4/gengetopt
test_dir := t
-build_dir := build
+ifeq ("$(origin O)", "command line")
+ build_dir := $(O)
+else
+ build_dir := build
+endif
ggo_dir := $(build_dir)/ggo
object_dir := $(build_dir)/objects
man_dir := $(build_dir)/man/man1