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
/
rscriptd
/
Makefile
diff --git
a/projects/rscriptd/Makefile
b/projects/rscriptd/Makefile
index 0912be081cc26b33cc1ad1afa8a95b7bf623dbd6..da06b50b055ebda30d6c737636d0bbc8dcbe3559 100644
(file)
--- a/
projects/rscriptd/Makefile
+++ b/
projects/rscriptd/Makefile
@@
-57,7
+57,11
@@
distclean: clean
install: install-bin install-data
install-bin:
install: install-bin install-data
install-bin:
- 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_LIBSRC) install
install-data:
$(MAKE) -C $(DIR_LIBSRC) install
install-data: