X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..808b843774dc48afcd43652cfbf1da7ac4487c21:/projects/rscriptd/Makefile diff --git a/projects/rscriptd/Makefile b/projects/rscriptd/Makefile index 03e95fa7..2b6cbc1c 100644 --- a/projects/rscriptd/Makefile +++ b/projects/rscriptd/Makefile @@ -10,11 +10,11 @@ SRCS = ./main.cpp \ ./listener.cpp \ ./pidfile.cpp -STGLIBS = -lstg_logger \ - -lstg_common \ - -lstg_crypto \ - -lscript_executer \ - -lconffiles +STGLIBS = -lstglogger \ + -lstgcommon \ + -lstgcrypto \ + -lstgscriptexecuter \ + -lstgconffiles LIBS += $(LIB_THREAD) @@ -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/stargazer + mkdir -m $(DIR_MODE) -p $(PREFIX)/etc/stargazer install -m $(DATA_MODE) -o $(OWNER) ./rscriptd.conf $(PREFIX)/etc/stargazer/rscriptd.conf uninstall: uninstall-bin uninstall-data