Commit 9b14bb04ca9c747173ff947458c46f7416653dad
1 parent
c101c49c
install fix (Rusty Russel)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@685 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
Makefile.target
| @@ -302,7 +302,9 @@ clean: | @@ -302,7 +302,9 @@ clean: | ||
| 302 | rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o | 302 | rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o |
| 303 | 303 | ||
| 304 | install: all | 304 | install: all |
| 305 | +ifneq ($(PROGS),) | ||
| 305 | install -m 755 -s $(PROGS) $(prefix)/bin | 306 | install -m 755 -s $(PROGS) $(prefix)/bin |
| 307 | +endif | ||
| 306 | 308 | ||
| 307 | ifneq ($(wildcard .depend),) | 309 | ifneq ($(wildcard .depend),) |
| 308 | include .depend | 310 | include .depend |