]> granicus.if.org Git - pdns/commitdiff
Copy the binaries during install, don't move them
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 4 Feb 2015 09:56:55 +0000 (10:56 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 4 Feb 2015 09:56:55 +0000 (10:56 +0100)
pdns/Makefile-recursor

index af981c69e93b9415f65854cdf490c97b6878377b..cbee61e760d5cea63fabe3fe879e96e31b5dca53 100644 (file)
@@ -108,12 +108,12 @@ basic_checks:
 
 install: build-stamp
        -mkdir -p $(DESTDIR)/$(SBINDIR)
-       mv pdns_recursor $(DESTDIR)/$(SBINDIR)
+       cp pdns_recursor $(DESTDIR)/$(SBINDIR)
 ifeq ($(STRIP_BINARIES), 1)
        strip $(DESTDIR)/$(SBINDIR)/pdns_recursor
 endif
        mkdir -p $(DESTDIR)/$(BINDIR)
-       mv rec_control $(DESTDIR)/$(BINDIR)
+       cp rec_control $(DESTDIR)/$(BINDIR)
 ifeq ($(STRIP_BINARIES), 1)
        strip $(DESTDIR)/$(BINDIR)/rec_control
 endif