diff -r a82d867e7850 -r 1936110171a2 examples/DS401_Slave_Gui/Makefile.in --- a/examples/DS401_Slave_Gui/Makefile.in Sat Oct 12 09:14:38 2013 +0900 +++ b/examples/DS401_Slave_Gui/Makefile.in Sun Jun 08 17:42:47 2014 +0200 @@ -75,11 +75,11 @@ $(RM) $(EXEC) $(DEPEND_FILE) install: DS401_Slave_Gui - mkdir -p $(PREFIX)/bin/ - cp $< $(PREFIX)/bin/ + mkdir -p $(DESTDIR)$(PREFIX)/bin/ + cp $< $(DESTDIR)$(PREFIX)/bin/ uninstall: - rm -f $(PREFIX)/bin/DS401_Slave_Gui + rm -f $(DESTDIR)$(PREFIX)/bin/DS401_Slave_Gui $(EXEC): $(OBJS) $(LD) $(OBJS) `wx-config --libs` -o $(EXEC)