diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-04 06:12:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-04 06:12:14 +0000 |
commit | 8fbf0baee6a6b82876d43cef4abc34d021252d25 (patch) | |
tree | 23103fd1ff0aae03ab20229a035573c1df16a5fa /Makefile | |
parent | 8d25c02e51386bb0f463349e85400df9e07d94a7 (diff) |
add Makefilev1.1710
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2a3461a --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +SUBDIRS = +DESTDIR = +UBINDIR ?= /usr/bin +ULIBDIR ?= /usr/lib/vasile + +all: + for d in $(SUBDIRS); do $(MAKE) -C $$d; done + +clean: + for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done + +install: + for d in $(SUBDIRS); do $(MAKE) -C $$d install; done + + install -d $(DESTDIR)$(UBINDIR) + install -m 0755 src/frontend/cli/vasile.sh $(DESTDIR)$(UBINDIR)/ + install -d $(DESTDIR)$(ULIBDIR) + install -m 0644 src/backend/*sh $(DESTDIR)$(ULIBDIR)/ + +uninstall: + rm -rf $(DESTDIR)$(UBINDIR)/vasile.sh + rm -rf $(DESTDIR)$(ULIBDIR) |