We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 064e963 + 851a30f commit 93bed70Copy full SHA for 93bed70
1 file changed
src/Makefile
@@ -122,6 +122,14 @@ else
122
endif
123
124
125
+VERSION=$(shell cat ../VERSION)
126
+dist:
127
+ mkdir ../linuxcnc-$(VERSION)
128
+ (cd ../ && git archive master) | (cd ../linuxcnc-$(VERSION) && tar xf -)
129
+ (cd ../linuxcnc-$(VERSION) && ./debian/configure)
130
+ (cd ../linuxcnc-$(VERSION)/src && ./autogen.sh)
131
+ (cd .. && tar zcf linuxcnc-$(VERSION).tar.gz linuxcnc-$(VERSION))
132
+ rm -rf ../linuxcnc-$(VERSION)
133
134
# Print 'entering' all the time
135
MAKEFLAGS += w
0 commit comments