]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
Add release target
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 3 Dec 2014 11:15:38 +0000 (12:15 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 3 Dec 2014 11:26:56 +0000 (12:26 +0100)
.gitattributes [new file with mode: 0644]
Makefile [new file with mode: 0644]
rpp/lib

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..620e4d1
--- /dev/null
@@ -0,0 +1,12 @@
+# README.txt contains information for git users - exclude it from release
+/README.txt export-ignore
+
+# Makefile contains only the release target - not useful without git - exclude it from release
+/Makefile export-ignore
+
+/refs/ export-ignore
+.git* export-ignore
+.dir-locals.el export-ignore
+/doc/ export-ignore
+.buildbot-suppress-warn export-ignore
+/rpp/rpp/rtiostream_serial.c export-ignore
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..67c7413
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+RELEASE_PREFIX = rpp-simulink
+
+include rpp/lib/common.mk
+
+release: $(RELEASE_BASENAME).zip
+
+$(RELEASE_BASENAME):: lib
+       mkdir -p $@
+       cp --parents rpp/lib/rpp-lib.lib $@/
+       $(MAKE) -C doc
+       mkdir -p $@/doc
+       cp doc/rpp_simulink.pdf $@/doc
+
+lib:
+       $(MAKE) -C rpp/lib/Release
diff --git a/rpp/lib b/rpp/lib
index e11d7d08fb8724c84ff26fdbeb35d9a5bfef5093..cf2ac7db94ba4bd081289e94af42cc573253a554 160000 (submodule)
--- a/rpp/lib
+++ b/rpp/lib
@@ -1 +1 @@
-Subproject commit e11d7d08fb8724c84ff26fdbeb35d9a5bfef5093
+Subproject commit cf2ac7db94ba4bd081289e94af42cc573253a554