]> git.stg.codes - stg.git/commitdiff
Add dependancy on module for install-bin targets
authorMaxim Mamontov <faust@gts.dp.ua>
Wed, 6 Apr 2011 13:01:11 +0000 (16:01 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Wed, 6 Apr 2011 13:01:11 +0000 (16:01 +0300)
projects/stargazer/Makefile
projects/stargazer/plugins/Makefile.in

index 5aa4687fb8b63cb2c96aaae2c707ad0cf8ece7c6..beac6fc6c062667bb70c0e5897d0487dddc58ffc 100644 (file)
@@ -72,7 +72,7 @@ distclean: clean
 
 install: install-bin install-data
 
-install-bin:
+install-bin: $(PROG)
        install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
        $(MAKE) -C $(DIR_LIBSRC) install
        $(MAKE) -C $(DIR_PLUGINS) install
index 87e0c4ce34589419de268f2db5c5b1d0bb9cce6d..23ff1eb9b9fe8878b1e7b40470b07c4db6222c7e 100644 (file)
@@ -22,7 +22,7 @@ $(PROG): $(OBJS) $(STGLIBS)
 clean:
        rm -f deps $(PROG) *.o tags *.*~
 
-install:
+install: $(PROG)
        mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg
        install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)