Skip to content

Commit 92ac393

Browse files
committed
Rebased on master. Pointing to selective builds in d/configure
1 parent dfb63c0 commit 92ac393

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

debian/configure

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,10 @@ fi
196196

197197
rm -f ../build-stamp
198198
echo "successfully configured for '$DISTRIB_NAME'.."
199+
200+
echo "I: You can now start the build of LinuxCNC Debian packages."
201+
echo " To build and test everything: fakeroot debian/rules binary"
202+
echo " To build the executables and man pages only: fakeroot debian/rules binary-arch"
203+
echo " To avoid tests: DEB_BUILD_OPTIONS=nocheck debian/rules binary"
204+
echo " To avoid documentation: DEB_BUILD_OPTIONS=nodocs fakeroot debian/rules binary"
205+
echo " The DEB_BUILD_OPTIONS environment variable also works with dpkg-buildpackage."

debian/rules.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
131131
$(RM) debian/tmp/usr/share/doc/linuxcnc/LinuxCNC_*_$$l.pdf; \
132132
done
133133
$(RM) debian/tmp/usr/share/doc/linuxcnc/*_es.adoc
134+
else
135+
# Avoiding error message because of examples
136+
$(RM) -fr debian/tmp/usr/share/doc/
134137
endif
135138

136139
override_dh_compress:

0 commit comments

Comments
 (0)