X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/75dfb67fd068cc291e22f4f813b407812ebd09d2..3e061469c8529e44e50a22b648837259fbc19d70:/projects/rlm_stg/Makefile?ds=sidebyside 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)