X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/75dfb67fd068cc291e22f4f813b407812ebd09d2..9324854ca8e3b5e09a16010e14860b530d68405f:/projects/rlm_stg/Makefile?ds=inline diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile index 98f5f2d2..6190491f 100644 --- a/projects/rlm_stg/Makefile +++ b/projects/rlm_stg/Makefile @@ -57,13 +57,17 @@ 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/freeradius/$(PROG) +else + install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/freeradius/$(PROG) +endif $(MAKE) -C $(DIR_LIBSRC) install uninstall: uninstall-bin uninstall-bin: - rm -f $(PREFIX)/usr/lib/$(PROG) + rm -f $(PREFIX)/usr/lib/freeradius/$(PROG) ifneq ($(MAKECMDGOALS),distclean) ifneq ($(MAKECMDGOALS),clean)