Index: tool/Make.rpkg |
diff --git a/tool/Make.rpkg b/tool/Make.rpkg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d36fd177e100dbac7ae2e205ddec23ed61451414 |
--- /dev/null |
+++ b/tool/Make.rpkg |
@@ -0,0 +1,18 @@ |
+# Make.rpkg allows to run goremote before standard go build process |
+ |
+ifndef PREBUILD |
+ PREBUILD=remotized*.go |
+endif |
+ |
+all: $(PREBUILD) |
+ |
+install: $(PREBUILD) |
+ |
+$(PREBUILD): $(GOFILES) |
+ goremote $(GOFILES) |
+ |
+GOFILES+=$(PREBUILD) |
+ |
+include $(GOROOT)/src/Make.pkg |
+ |
+CLEANFILES+=$(PREBUILD) _remotizer* |