]> git.stg.codes - stg.git/blobdiff - projects/sgauth/Makefile
SETTINGS definition and implementation extracted from main.cpp to
[stg.git] / projects / sgauth / Makefile
index 7f597b95936022be55d92f0ae8ea74688d0f0512..12c7b9fc69744df74109f7599f457b6c15d98fe0 100644 (file)
@@ -56,13 +56,12 @@ distclean: clean
 install: install-bin install-data
 
 install-bin:
-       mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/sbin
        install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
        $(MAKE) -C $(DIR_LIBSRC) install
 
 install-data:
        # Install etc
-       mkdir -m $(DATA_MODE) -p $(PREFIX)/etc
+       mkdir -m $(DIR_MODE) -p $(PREFIX)/etc
        install -m $(DATA_MODE) -o $(OWNER) ./sgauth.conf $(PREFIX)/etc/sgauth.conf
 
 uninstall: uninstall-bin uninstall-data
@@ -72,7 +71,7 @@ uninstall-bin:
 
 uninstall-data:
        # Uninstall etc
-       rm -f $(PREFIX)/etc/stargazer/sgauth.conf
+       rm -f $(PREFIX)/etc/sgauth.conf
 
 
 ifneq ($(MAKECMDGOALS),distclean)