]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/Makefile
Fixed installation.
[stg.git] / projects / rlm_stg / Makefile
index 98f5f2d24cddaa53d6525d2cac669b3bc5b16a47..faa8aa307a921879a42fcf503e2e7b6911bc0715 100644 (file)
@@ -57,7 +57,11 @@ distclean: clean
 install: install-bin
 
 install-bin:
-       install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/$(PROG)
+ifeq ($(DEBUG), yes)
+       install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/$(PROG)
+else
+       install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/$(PROG)
+endif
        $(MAKE) -C $(DIR_LIBSRC) install
 
 uninstall: uninstall-bin