The install rule now requires the binary to be up-to-date.
authorFrancois Fleuret <francois@fleuret.org>
Sat, 4 Apr 2009 17:52:38 +0000 (19:52 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 4 Apr 2009 17:52:38 +0000 (19:52 +0200)
Makefile

index bc925d0..23b62f4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ all: selector
 selector: selector.o
        $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
 
-install:
+install: selector
        install -m 755 selector $(BINARY_PATH)
        install -m 644 selector.1 $(MAN_PATH)
        gzip $(MAN_PATH)/selector.1