aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile29
1 files changed, 29 insertions, 0 deletions
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