summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/Makefile b/proto/Makefile
index 4b81a28..98f0f4a 100644
--- a/proto/Makefile
+++ b/proto/Makefile
@@ -33,7 +33,7 @@ $(srcdir)/requests.txt: $(srcdir)/nslcd_h.go $(srcdir)/Makefile
_nslcd.srcdir := $(srcdir)
_nslcd.rel=$(patsubst $(abspath $(_nslcd.srcdir))/%,./%,$(abspath $1))
$(srcdir)/%.go: $(srcdir)/%.go.sh
- cd $(srcdir) && $(call _nslcd.rel,$^) > $(call _nslcd.rel,$@)
+ cd $(_nslcd.srcdir) && $(call _nslcd.rel,$^) > $(call _nslcd.rel,$@)
$(srcdir)/server/interface_backend.go: $(srcdir)/requests.txt
$(srcdir)/server/func_handlerequest.go: $(srcdir)/requests.txt