diff --git a/cvpcb/makefile.gtk b/cvpcb/makefile.gtk index 5ce33231b6..5e27f266a4 100644 --- a/cvpcb/makefile.gtk +++ b/cvpcb/makefile.gtk @@ -25,6 +25,7 @@ $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux $ install: $(TARGET) + mkdir -p $(KICAD_BIN) cp -f $(TARGET) $(KICAD_BIN) clean: diff --git a/eeschema/makefile.gtk b/eeschema/makefile.gtk index 04c1a2e15e..a1d482fcd5 100644 --- a/eeschema/makefile.gtk +++ b/eeschema/makefile.gtk @@ -26,6 +26,7 @@ netlist_form_pads-pcb: plugins/netlist_form_pads-pcb.cpp makefile.gtk install: $(TARGET) + mkdir -p $(KICAD_BIN) cp $(TARGET) $(KICAD_BIN) diff --git a/eeschema/plugins/makefile.gtk b/eeschema/plugins/makefile.gtk index 5ed46557a4..b8bea52afb 100644 --- a/eeschema/plugins/makefile.gtk +++ b/eeschema/plugins/makefile.gtk @@ -18,10 +18,8 @@ all: netlist_form_pads-pcb netlist_form_pads-pcb: netlist_form_pads-pcb.cpp makefile.gtk gcc -D__UNIX__ -Wall netlist_form_pads-pcb.cpp -o netlist_form_pads-pcb $(LIBSTDC) -$(KICAD_PLUGINS): +install: netlist_form_pads-pcb mkdir -p $(KICAD_PLUGINS) - -install: $(KICAD_PLUGINS) cp netlist_form_pads-pcb $(KICAD_PLUGINS) clean : diff --git a/gerbview/makefile.gtk b/gerbview/makefile.gtk index 8d0930071e..65772f9d59 100644 --- a/gerbview/makefile.gtk +++ b/gerbview/makefile.gtk @@ -18,10 +18,11 @@ EDACPPFLAGS = $(CPPFLAGS) $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux - $(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) + $(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) install: $(TARGET) - cp $(TARGET) $(KICAD_BIN) + mkdir -p $(KICAD_BIN) + cp -f $(TARGET) $(KICAD_BIN) clean: diff --git a/kicad/makefile.gtk b/kicad/makefile.gtk index edd0048cfd..2eac152003 100644 --- a/kicad/makefile.gtk +++ b/kicad/makefile.gtk @@ -21,8 +21,9 @@ EDACPPFLAGS = $(CPPFLAGS) $(TARGET): $(OBJECTS) makefile.gtk $(EXTRALIBS) ../libs.linux $(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET) -install:$(TARGET) - cp -f $(TARGET) $(KICAD_BIN) +install: $(TARGET) + mkdir -p $(KICAD_BIN) + cp -f $(TARGET) $(KICAD_BIN) clean: rm -f *.o; diff --git a/pcbnew/makefile.gtk b/pcbnew/makefile.gtk index bfc9c8a3f6..ad7ccee12e 100644 --- a/pcbnew/makefile.gtk +++ b/pcbnew/makefile.gtk @@ -23,7 +23,8 @@ $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(LIBVIEWER3D) $(EXTRALIBS) install: $(TARGET) - cp $(TARGET) $(KICAD_BIN) + mkdir -p $(KICAD_BIN) + cp $(TARGET) $(KICAD_BIN) clean: