X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e82ec777fc54a172b8009125a65675080f24ce68..a2030122b69115407ef847e1d9f99beed5060397:/projects/sgauth/Makefile diff --git a/projects/sgauth/Makefile b/projects/sgauth/Makefile index 88e1fb9c..a59371c9 100644 --- a/projects/sgauth/Makefile +++ b/projects/sgauth/Makefile @@ -58,7 +58,11 @@ distclean: clean 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: @@ -87,7 +91,7 @@ endif deps: $(SRCS) ../../Makefile.conf sgauth.css $(MAKE) -C $(DIR_LIBSRC) @>deps ;\ - ./make_css.sh + ./make_css.sh ;\ for file in $(SRCS); do\ echo "$$file" | grep ".c$$" > /dev/null;\ if [ $$? -eq 0 ];\