git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from SpiderX <spiderx@spiderx.dp.ua> - build in debug mode.
[stg.git]
/
projects
/
stargazer
/
Makefile
diff --git
a/projects/stargazer/Makefile
b/projects/stargazer/Makefile
index 44ae35ec3007ebae87f6cef197526972043ae013..9dfc0b51e0cec512172e6a71aef8ce1a46b3d463 100644
(file)
--- a/
projects/stargazer/Makefile
+++ b/
projects/stargazer/Makefile
@@
-77,7
+77,11
@@
distclean: clean
install: install-bin install-data
install-bin: $(PROG)
install: install-bin install-data
install-bin: $(PROG)
- install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
+ifeq ($(DEBUG), yes)
+ install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/sbin/$(PROG)
+else
+ install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
+endif
$(MAKE) -C $(DIR_INCLUDE) install
$(MAKE) -C $(DIR_LIBSRC) install
$(MAKE) -C $(DIR_PLUGINS) install
$(MAKE) -C $(DIR_INCLUDE) install
$(MAKE) -C $(DIR_LIBSRC) install
$(MAKE) -C $(DIR_PLUGINS) install