]> git.stg.codes - stg.git/blobdiff - projects/sgconf/Makefile
Added ability to list authorizers for user.
[stg.git] / projects / sgconf / Makefile
index 4d62bb536c998b0d29752f88148cb6f4fa14753c..297d3e206983bb40c96ce9e9d5ab51e5b4051732 100644 (file)
@@ -66,7 +66,11 @@ distclean: clean
 install: install-bin
 
 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/bin/$(PROG)
+else
+       install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG)
+endif
        $(MAKE) -C $(DIR_LIBSRC) install
 
 uninstall: uninstall-bin