summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Changelog11
-rw-r--r--Makefile9
2 files changed, 20 insertions, 0 deletions
diff --git a/Changelog b/Changelog
new file mode 100644
index 0000000..668aa29
--- /dev/null
+++ b/Changelog
@@ -0,0 +1,11 @@
+------------------------------------------------------------------------
+r2 | massiot | 2010-03-01 00:04:26 +0100 (lun., 01 mars 2010) | 2 lines
+
+ * ALL: Move stuff from INSTALL to README.
+
+------------------------------------------------------------------------
+r1 | massiot | 2010-01-08 00:30:42 +0100 (ven., 08 janv. 2010) | 2 lines
+
+ * Initial import.
+
+------------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 2cafdf8..4ffb1ca 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,8 @@ OBJ_AGGREGARTP = aggregartp.o util.o
OBJ_DESAGGREGARTP = desaggregartp.o util.o
OBJ_OFFSETS = offsets.o
+BIN = $(DESTDIR)/usr/bin
+
all: multicat ingests aggregartp desaggregartp offsets
$(OBJ_MULTICAT): Makefile util.h
@@ -35,3 +37,10 @@ offsets: $(OBJ_OFFSETS)
clean:
-rm -f multicat $(OBJ_MULTICAT) ingests $(OBJ_INGESTS) aggregartp $(OBJ_AGGREGARTP) desaggregartp $(OBJ_DESAGGREGARTP) offsets $(OBJ_OFFSETS)
+
+install: all
+ @install -d $(BIN)
+ @install multicat ingests aggregartp desaggregartp offsets $(BIN)
+
+uninstall:
+ @rm $(BIN)/multicat $(BIN)/ingests $(BIN)/aggregartp $(BIN)/desaggregartp $(BIN)/offsets