Skip to content

Commit

Permalink
Subroutine merge: 3: move/split subroutine into folders under nc_files
Browse files Browse the repository at this point in the history
  • Loading branch information
dpslwk committed Dec 2, 2023
1 parent e074e0a commit 0bf0e2c
Show file tree
Hide file tree
Showing 358 changed files with 136 additions and 20,222 deletions.
2 changes: 2 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ sudo -u ${SUDO_USER:-$USER} mkdir -p "${TARGET_HOME}.local/usr/share/icons"

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

# Copy the probe_basic icons directory to the target directory
sudo -u ${SUDO_USER:-$USER} cp -r /usr/share/icons/probe_basic_icon.png "${TARGET_HOME}.local/usr/share/icons/"
Expand Down
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ override_dh_auto_install:
mkdir -p debian/python3-probe-basic/usr/share/probe_basic/configs/
# Install the config file contents
cp -r linuxcnc/configs debian/python3-probe-basic/usr/share/probe_basic/
# create nc_files directory if it doesn't exist
mkdir -p debian/python3-probe-basic/usr/share/probe_basic/nc_files/
# Install the nc_file file contents
cp -r linuxcnc/nc_files debian/python3-probe-basic/usr/share/probe_basic/


override_dh_install:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 0 additions & 42 deletions linuxcnc/configs/atc_sim/macros_sim_inch/m22.ngc

This file was deleted.

This file was deleted.

87 changes: 0 additions & 87 deletions linuxcnc/configs/atc_sim/macros_sim_inch/toolsetter_wco.ngc

This file was deleted.

12 changes: 0 additions & 12 deletions linuxcnc/configs/atc_sim/macros_sim_metric/clamptool.ngc

This file was deleted.

28 changes: 0 additions & 28 deletions linuxcnc/configs/atc_sim/macros_sim_metric/extendatc.ngc

This file was deleted.

10 changes: 0 additions & 10 deletions linuxcnc/configs/atc_sim/macros_sim_metric/go_to_g30.ngc

This file was deleted.

10 changes: 0 additions & 10 deletions linuxcnc/configs/atc_sim/macros_sim_metric/go_to_home.ngc

This file was deleted.

15 changes: 0 additions & 15 deletions linuxcnc/configs/atc_sim/macros_sim_metric/go_to_zero.ngc

This file was deleted.

60 changes: 0 additions & 60 deletions linuxcnc/configs/atc_sim/macros_sim_metric/load_spindle_safety.ngc

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0bf0e2c

Please sign in to comment.