Fixed building in a separate build directory.
authormarkus schnalke <meillo@marmaro.de>
Fri, 23 Mar 2012 11:20:01 +0000 (12:20 +0100)
committermarkus schnalke <meillo@marmaro.de>
Fri, 23 Mar 2012 11:20:01 +0000 (12:20 +0100)
Like this:
mkdir /tmp/foo
cd /tmp/foo
/path/to/sources/configure -q
make
If you want to know more, search for VPATH.

uip/Makefile.in

index d39e57c..a2500cc 100644 (file)
@@ -127,7 +127,7 @@ inc: inc.o scansbr.o termsbr.o $(LOCALLIBS)
        $(LINK) inc.o scansbr.o termsbr.o $(LINKLIBS) $(TERMLIB)
 
 mmh: mmh.sh
-       cp mmh.sh mmh
+       cp $(srcdir)/mmh.sh mmh
        chmod +x mmh
 
 mark: mark.o $(LOCALLIBS)
@@ -173,7 +173,7 @@ pick: pick.o $(LOCALLIBS)
        $(LINK) pick.o $(LINKLIBS)
 
 print-mimetype: print-mimetype.sh
-       cp print-mimetype.sh print-mimetype
+       cp $(srcdir)/print-mimetype.sh print-mimetype
        chmod +x print-mimetype
 
 prompter: prompter.o $(LOCALLIBS)
@@ -207,7 +207,7 @@ send: send.o distsbr.o $(LOCALLIBS)
        $(LINK) send.o distsbr.o $(LINKLIBS)
 
 sendfiles: sendfiles.sh
-       cp sendfiles.sh sendfiles
+       cp $(srcdir)/sendfiles.sh sendfiles
        chmod +x sendfiles
 
 show: show.o $(LOCALLIBS)