Skip to content

Commit

Permalink
[READY] - Multiple updates to switch flashing process (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarcasticadmin authored Feb 4, 2025
2 parents 07a7032 + 8249c54 commit 5800eb4
Show file tree
Hide file tree
Showing 6 changed files with 286 additions and 204 deletions.
8 changes: 4 additions & 4 deletions switch-configuration/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ build-switch-configs: .build-switch-configs

.build-switch-configs: .lint .secrets config/switchtypes config/types/* config/vlans config/vlans.d/* config/scripts/build_switch_configs.pl config/scripts/switch_template.pm
cd config && \
perl scripts/build_switch_configs.pl
touch .build-switch-configs
perl scripts/build_switch_configs.pl && \
touch .build-switch-configs

# Make the switch-maps-bundle which is a collection of all the switch port maps
# this is a for printing for the cable team
Expand All @@ -39,7 +39,7 @@ switch-maps-outputs: config/switch-maps/refs.ps config/switch-maps/refs.pdf conf
# cd config && \
# perl scripts/generate_ps_maps.pl > switch-maps/bundle.ps

config/switch-maps/refs.ps: .build-switch-configs .build-switch-configs
config/switch-maps/refs.ps: .build-switch-configs
cd config && \
perl scripts/generate_ps_refs.pl > switch-maps/refs.ps

Expand All @@ -48,7 +48,7 @@ config/switch-maps/refs.pdf: config/switch-maps/refs.ps
cd config && \
gs -sDEVICE=pdfwrite -sOutputFile=switch-maps/refs.pdf <switch-maps/refs.ps > /dev/null

config/switch-maps/stickers.ps: .build-switch-configs .build-switch-configs
config/switch-maps/stickers.ps: .build-switch-configs
cd config && \
perl scripts/generate_ps_stickers.pl > switch-maps/stickers.ps

Expand Down
Loading

0 comments on commit 5800eb4

Please sign in to comment.