summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars Ljung <lars@matholka.se>2016-03-02 22:24:24 +0100
committerLars Ljung <lars@matholka.se>2016-03-02 22:24:24 +0100
commitd3fc29caafb21ba8b67152e1a3a970e8dd4e07d6 (patch)
tree7f0c29e100bc6fb416c7cd137524339fa92d65f2 /Makefile
parent8e887a841e7fd229238668aebd8e448765ebff19 (diff)
Enable automatic build from within Emacs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5a049d1..64d0248 100644
--- a/Makefile
+++ b/Makefile
@@ -89,8 +89,8 @@ install-server-deps:
melpa-build: server/epdfinfo
-cp -p server/epdfinfo ..
@if [ "$(shell uname -o)" = "Msys" ]; then \
- for f in $(shell ldd server/epdfinfo | awk '/mingw/ {print $$1}'); do \
- cp /$(MSYSTEM)/bin/$$f ..; \
+ for f in $(shell ldd server/epdfinfo | awk '/mingw/ {print $$3}'); do \
+ cp $$f ..; \
done; \
fi
$(MAKE) distclean