diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-02-09 11:35:20 +0100 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-02-09 11:35:20 +0100 |
commit | 76dce9a62c564070eb7a079a37a05ba5eb2355cf (patch) | |
tree | 2db91593938752a2e9961508247d52a7ce41ff08 /Makefile | |
parent | 6b0bdfa63bdfb1464db36162390a35da9792cb14 (diff) | |
download | dotfiles-76dce9a62c564070eb7a079a37a05ba5eb2355cf.tar.gz dotfiles-76dce9a62c564070eb7a079a37a05ba5eb2355cf.zip |
some things
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..71a9ebc --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +M4 := m4 +M4_OPTS := -P +M4_COMMON_DEPS = system.m4 + +define M4_EXEC + ${M4} ${M4_OPTS} $< > $@ +endef + +TARGETS := linux/tmux.conf \ + Common/zshrc \ + linux/qtile/config/config.py + +all: $(TARGETS) + +linux/tmux.conf: linux/tmux.conf.m4 \ + ${M4_COMMON_DEPS} + $(call M4_EXEC) + +Common/zshrc: Common/zshrc.m4 \ + ${M4_COMMON_DEPS} + $(call M4_EXEC) + +linux/qtile/config/config.py: linux/qtile/config/config.py.m4 \ + linux/qtile/config/screen.m4.py \ + linux/qtile/config/group.m4.py \ + linux/qtile/config/layout.m4.py \ + linux/qtile/config/keys.m4.py \ + ${M4_COMMON_DEPS} + $(call M4_EXEC) |