X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fshell%2FMakefile;h=62ecb96891900f061d4db540dd0ac514a8f26a34;hb=05ffab94be8da943cffb8fb30d7073ab78aef94c;hp=f9f6e076b15e6102513a2ac1e583b8fedf44f907;hpb=031256ad2e123eec58521f8e3eb9496c197641d2;p=libucw.git diff --git a/ucw/shell/Makefile b/ucw/shell/Makefile index f9f6e076..62ecb968 100644 --- a/ucw/shell/Makefile +++ b/ucw/shell/Makefile @@ -1,12 +1,21 @@ # Support routines for shell scripts DIRS+=ucw/shell -PROGS+=$(o)/ucw/shell/config $(o)/ucw/shell/logger +UCW_SHELL_PROGS=$(addprefix $(o)/ucw/shell/,config logger logoutput) +PROGS+=$(UCW_SHELL_PROGS) DATAFILES+=$(o)/ucw/shell/libucw.sh $(o)/ucw/shell/config: $(o)/ucw/shell/config.o $(LIBUCW) $(o)/ucw/shell/logger: $(o)/ucw/shell/logger.o $(LIBUCW) +$(o)/ucw/shell/logoutput: $(o)/ucw/shell/logoutput.o $(LIBUCW) TESTS+=$(addprefix $(o)/ucw/shell/,config.test) $(o)/ucw/shell/config.test: $(o)/ucw/shell/config + +INSTALL_TARGETS+=install-ucw-shell +install-ucw-shell: + install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR) + install -m 755 $(UCW_SHELL_PROGS) $(DESTDIR)$(INSTALL_BIN_DIR) + +.PHONY: install-ucw-shell