Skip to content

Commit 21067da

Browse files
committed
Subroutine merge: 3: move/split subroutine into folders under nc_files
1 parent b60258d commit 21067da

File tree

361 files changed

+291
-20078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

361 files changed

+291
-20078
lines changed

debian/postinst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ sudo -u ${SUDO_USER:-$USER} mkdir -p "${TARGET_HOME}.local/usr/share/icons"
1414

1515
# Copy the probe_basic_sims directory to the target directory
1616
sudo -u ${SUDO_USER:-$USER} cp -r /usr/share/probe_basic/configs "${TARGET_HOME}linuxcnc/"
17+
# Copy only new subroutines to the target nc_files directory
18+
sudo -u ${SUDO_USER:-$USER} cp -r -n /usr/share/probe_basic/nc_files "${TARGET_HOME}linuxcnc/"
1719

1820
# Copy the probe_basic icons directory to the target directory
1921
sudo -u ${SUDO_USER:-$USER} cp -r /usr/share/icons/probe_basic_icon.png "${TARGET_HOME}.local/usr/share/icons/"

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ override_dh_auto_install:
2323
mkdir -p debian/python3-probe-basic/usr/share/probe_basic/configs/
2424
# Install the config file contents
2525
cp -r linuxcnc/configs debian/python3-probe-basic/usr/share/probe_basic/
26+
# create nc_files directory if it doesn't exist
27+
mkdir -p debian/python3-probe-basic/usr/share/probe_basic/nc_files/
28+
# Install the nc_file file contents
29+
cp -r linuxcnc/nc_files debian/python3-probe-basic/usr/share/probe_basic/
2630

2731

2832
override_dh_install:
46.5 KB
Loading

linuxcnc/configs/atc_sim/macros_sim_inch/extendatc.ngc

Lines changed: 0 additions & 16 deletions
This file was deleted.

linuxcnc/configs/atc_sim/macros_sim_inch/go_to_g30.ngc

Lines changed: 0 additions & 9 deletions
This file was deleted.

linuxcnc/configs/atc_sim/macros_sim_inch/go_to_home.ngc

Lines changed: 0 additions & 9 deletions
This file was deleted.

linuxcnc/configs/atc_sim/macros_sim_inch/go_to_zero.ngc

Lines changed: 0 additions & 13 deletions
This file was deleted.

linuxcnc/configs/atc_sim/macros_sim_inch/load_spindle_safety_2.ngc

Lines changed: 0 additions & 60 deletions
This file was deleted.

linuxcnc/configs/atc_sim/macros_sim_inch/m11.ngc

Lines changed: 0 additions & 49 deletions
This file was deleted.

linuxcnc/configs/atc_sim/macros_sim_inch/m12.ngc

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)