summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormassiot <massiot@271ca591-50e6-457e-a4d7-9fbfa1de8f49>2010-03-01 00:07:08 +0100
committermassiot <massiot@271ca591-50e6-457e-a4d7-9fbfa1de8f49>2010-03-01 00:07:08 +0100
commitfdd677cabf27d4e45c8abc201f885f1cc2b493db (patch)
tree54b2e4c5edcab186212e2e27af5cbbe23116d947
parentab52fd8e50d6b5482a147840f38d8329e538b512 (diff)
downloadmulticat-fdd677cabf27d4e45c8abc201f885f1cc2b493db.tar
multicat-fdd677cabf27d4e45c8abc201f885f1cc2b493db.zip
* Makefile: Add install rule.
* Changelog: Create. git-svn-id: svn://svn.videolan.org/multicat/trunk@3 271ca591-50e6-457e-a4d7-9fbfa1de8f49
-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