Skip to content

Some instructions on avoiding projects root #33

Description

@enrh

Thinking about how I personally use this script to pull in updates to a different directory.

workspace.mk

.PHONY: workspace-rsync
workspace-rsync:
        @## Install updates from workspace project
        @#
	$(call MAKE_PR2NT,\
                <cD>make <cL>workspace-rsync<c0>\n)
        @#
	@rsync -iavzP --delete \
                $(rsync_args) \
                --include='Makefile' \
                --include='makefile.py' \
                --include='Recipes' \
                --include='Recipes/*' \
                --include='Recipes/*/*' \
                --exclude=* \
                Projects/workspace/ ./

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions