Skip to content

Expands makefile variables interactively using macrostep-expand interface

License

Notifications You must be signed in to change notification settings

nverno/macrostep-make

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Makefile variable expansion using macrostep

License: GPL v3

Expands make variables using macrostep-expand interface from macrostep.

Variables are retrieved from make's internal database using make -prns. They are updated when the buffer's file's modication time changes.

The following functions are defined for the macrostep interface:

+ macrostep-sexp-bounds-function
+ macrostep-sexp-at-point-function
+ macrostep-environment-at-point-function
+ macrostep-expand-1-function
+ macrostep-print-function

Usage

Require macrostep and macrostep-make.

Bind macrostep-expand to a key, eg (kbd C-c e).

Then, in makefiles, C-c e interactively expands variables at point.

example

About

Expands makefile variables interactively using macrostep-expand interface

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published