roken: Use srcdir for roken-post.h 87/13387/2
authorAndrew Deason <adeason@sinenomine.net>
Tue, 13 Nov 2018 17:09:52 +0000 (11:09 -0600)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 18 Jan 2019 12:59:13 +0000 (07:59 -0500)
roken-post.h is a source file, not a generated file in the objdir.
Specify $(srcdir) so we can work with objdir builds.

Change-Id: I1d00ba1f28bea99770c2af56890fbf22ee764820
Reviewed-on: https://gerrit.openafs.org/13387
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

src/roken/Makefile.in

index 69b16c5..69d61ef 100644 (file)
@@ -75,7 +75,7 @@ err.h: ${UPSTREAM}/err.hin
        $(INSTALL_DATA) $? $@
 
 roken.h: $(UPSTREAM)/roken.h.in roken-post.h
-       cat $(UPSTREAM)/roken.h.in roken-post.h >$@
+       cat $(UPSTREAM)/roken.h.in $(srcdir)/roken-post.h >$@
 
 # Here we have explicit rules for all the libtool objects we might need to
 # build.  The implicit rules don't work since the sources are in a different