From 513fe6fac6ce937d32c16766587a05be9fbca6b1 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 22 Mar 2015 15:52:15 +0100 Subject: Global Makefile. --- Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c4d2e59 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +COMPONENTS := cli xul-ext + +PREFIX ?= /usr +MANPREFIX ?= $(PREFIX)/share/man + +all: $(COMPONENTS) + +debian-package: + git buildpackage + +cli: + make -C $@ + +xul-ext: + make -C $@ + +install: + make -C cli $@ + +installman: + make -C cli $@ + +uninstall: + make -C cli $@ + +clean: + $(foreach x,$(COMPONENTS), make -C $x $@;) + +.PHONY: all debian-package $(COMPONENTS) install installman uninstall clean -- cgit v1.2.3