]> www.vanbest.org Git - backupusage.git/commitdiff
Added install target to Makefile 0.1 upstream/0.1
authorJan-Pascal van Best <janpascal@vanbest.org>
Mon, 29 Aug 2011 10:50:42 +0000 (12:50 +0200)
committerJan-Pascal van Best <janpascal@vanbest.org>
Mon, 29 Aug 2011 10:52:22 +0000 (12:52 +0200)
Makefile

index 44df599646f7b77f0a3a830ec6db48299485c7d0..6fff70d2d78613f09896c197f5ab431b839536fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,8 @@ LIBS=-lboost_program_options -lboost_filesystem -lboost_regex
 
 all: backupusage
 
-test: backupusage
-       ./backupusage --limit=1000000 > result.txt
+install: backupusage
+       install $^ $(DESTDIR)/usr/bin/
 
 backupusage: backupusage.o spacecounter.o
        g++ $(LIBS) $^ -o $@