]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/Makefile
Fix rscriptd compilation errors
[stg.git] / projects / rlm_stg / Makefile
index deaf437e0e85b128ccb2005ec170a4c4a8da882b..20530c5288567758285cffa29c41b0dd2e4344ff 100644 (file)
@@ -53,14 +53,13 @@ distclean: clean
 install: install-bin
 
 install-bin:
 install: install-bin
 
 install-bin:
-       mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/lib
        install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/$(PROG)
        $(MAKE) -C $(DIR_LIBSRC) install
 
 uninstall: uninstall-bin
 
 uninstall-bin:
        install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/$(PROG)
        $(MAKE) -C $(DIR_LIBSRC) install
 
 uninstall: uninstall-bin
 
 uninstall-bin:
-       rm -f $(PREFIX)/usr/sbin/$(PROG)
+       rm -f $(PREFIX)/usr/lib/$(PROG)
 
 ifneq ($(MAKECMDGOALS),distclean)
 ifneq ($(MAKECMDGOALS),clean)
 
 ifneq ($(MAKECMDGOALS),distclean)
 ifneq ($(MAKECMDGOALS),clean)