summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/solaris/Makefile.targ4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/solaris/Makefile.targ b/pkg/solaris/Makefile.targ
index 66d6f8be..55ca5238 100644
--- a/pkg/solaris/Makefile.targ
+++ b/pkg/solaris/Makefile.targ
@@ -9,8 +9,8 @@ pkginfo: pkginfo.tmpl ../awk_pkginfo
$(RM) $@; nawk -f ../awk_pkginfo $< > $@
# we need to copy prototype_sparc to current too find copyright in current
-prototype: prototype_com prototype_$(MACH)
- cat prototype_$(MACH) | sed -e \
+prototype: $(srcdir)/prototype_com $(srcdir)/prototype_$(MACH)
+ cat $(srcdir)/prototype_$(MACH) | sed -e \
'/^!include[ ][ ]*prototype_com/ r ./prototype_com' \
-e 's/^!include[ ][ ]*prototype_com//g' >prototype