python: Call ln(1) in a portable way.
authorWerner Koch <wk@gnupg.org>
Fri, 14 Oct 2016 14:20:15 +0000 (16:20 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 14 Oct 2016 14:32:59 +0000 (16:32 +0200)
* lang/python/Makefile.am: Specify target dir for ln.

Signed-off-by: Werner Koch <wk@gnupg.org>
lang/python/Makefile.am

index 9cb99c4..224a91a 100644 (file)
@@ -54,10 +54,10 @@ copystamp: $(COPY_FILES) $(COPY_FILES_PYME) data.h config.h
        touch $@
 
 data.h:
-       ln -s "$(top_srcdir)/src/data.h"
+       ln -s "$(top_srcdir)/src/data.h" .
 
 config.h:
-       ln -s "$(top_builddir)/config.h"
+       ln -s "$(top_builddir)/config.h" .
 
 all-local: copystamp
        for PYTHON in $(PYTHONS); do \