feat: add proper local stow package targets to Makefile #11

Open
Hermes wants to merge 2 commits from feat/stow-local-targets into master
Collaborator

Summary

Add structured support for the local stow package in the Makefile, following the existing patterns used by other packages (e.g., stow_rclone).

Changes

  • STOW_LOCAL_DIR — explicit variable defining the local stow package directory (local)
  • stow_local target — dedicated target with cleanup of broken symlinks in ~/.local/share/applications
  • .PHONY — declare all targets as phony for correctness
  • clean target — unstow all packages using stow -D

The local package was already in CONFIG_DIRS but lacked its own targets and variable definition. This aligns it with how rclone is handled while keeping the generic stow_% rule for common packages.

Testing

  • make -n stow_local — dry run shows cleanup + stow
  • make -n stow_all — includes stow_local in the loop
  • make -n clean — dry run shows unstow for all packages

All targets parse and execute correctly (validated with GNU Make 4.4.1).

## Summary Add structured support for the local stow package in the Makefile, following the existing patterns used by other packages (e.g., `stow_rclone`). ## Changes - **STOW_LOCAL_DIR** — explicit variable defining the local stow package directory (`local`) - **stow_local** target — dedicated target with cleanup of broken symlinks in `~/.local/share/applications` - **.PHONY** — declare all targets as phony for correctness - **clean** target — unstow all packages using `stow -D` The `local` package was already in `CONFIG_DIRS` but lacked its own targets and variable definition. This aligns it with how `rclone` is handled while keeping the generic `stow_%` rule for common packages. ## Testing - `make -n stow_local` — dry run shows cleanup + stow - `make -n stow_all` — includes `stow_local` in the loop - `make -n clean` — dry run shows unstow for all packages All targets parse and execute correctly (validated with GNU Make 4.4.1).
Hermes added 2 commits 2026-05-20 18:31:18 +00:00
- Add STOW_LOCAL_DIR variable explicitly defining the local package
- Add dedicated stow_local target with cleanup (follows rclone pattern)
- Add .PHONY declaration for all targets
- Add clean target for unstowing all packages
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/stow-local-targets:feat/stow-local-targets
git checkout feat/stow-local-targets
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gortium/dotfiles#11
No description provided.