Add Makefiles for all files

This commit is contained in:
Tom Willemsen 2012-12-05 00:13:28 +01:00
parent 9b3cc1d28d
commit f5e88cf609
33 changed files with 138 additions and 16 deletions

5
.config/Makefile Normal file
View file

@ -0,0 +1,5 @@
DESTDIR:=$(DESTDIR)/.config
modules=awesome clfswm cower dunst fehlstart fish herbstluftwm \
newsbeuter zathura
include ../dotfiles.mk

5
.config/awesome/Makefile Normal file
View file

@ -0,0 +1,5 @@
DESTDIR:=$(DESTDIR)/awesome
modules=themes
objects=bowl.lua ext.lua infoline.lua keychain.lua oni.lua rc.lua
include ../../dotfiles.mk

View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/themes
modules=custom
include ../../../dotfiles.mk

View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/custom
objects=theme.lua
include ../../../../dotfiles.mk

4
.config/clfswm/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/clfswm
objects=clfswmrc
include ../../dotfiles.mk

4
.config/cower/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/cower
objects=config
include ../../dotfiles.mk

4
.config/dunst/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/dunst
objects=dunstrc
include ../../dotfiles.mk

View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/fehlstart
objects=fehlstart.rc
include ../../dotfiles.mk

4
.config/fish/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/fish
objects=config.fish
include ../../dotfiles.mk

View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/herbstluftwm
objects=autostart panel.sh
include ../../dotfiles.mk

View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/newsbeuter
objects=config urls
include ../../dotfiles.mk

4
.config/zathura/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/zathura
objects=zathurarc
include ../../dotfiles.mk

5
.conkerorrc/Makefile Normal file
View file

@ -0,0 +1,5 @@
DESTDIR:=$(DESTDIR)/.conkerorrc
modules=themes
objects=gtk2rc init.js
include ../dotfiles.mk

View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/themes
modules=naquadah
include ../../dotfiles.mk

View file

@ -0,0 +1,5 @@
DESTDIR:=$(DESTDIR)/naquadah
objects=conkeror--scrollbars.css hints--url-panel.css minibuffer.css \
mode-line.css new-tabs.css tab-bar.css theme.json
include ../../../dotfiles.mk

View file

@ -1,5 +1,5 @@
DESTDIR=$(HOME)/.emacs.d
DESTDIR:=$(DESTDIR)/.emacs.d
objects=init.elc init.el gnus.elc gnus.el
modules=eshell site-lisp snippets
include emacs.mk
include ../dotfiles.mk

View file

@ -1,5 +1,5 @@
DESTDIR=$(HOME)/.emacs.d/eshell
DESTDIR:=$(DESTDIR)/eshell
objects=alias
modules=
include ../emacs.mk
include ../../dotfiles.mk

View file

@ -1,7 +1,7 @@
DESTDIR=$(HOME)/.emacs.d/eshell
DESTDIR:=$(DESTDIR)/site-lisp
objects=dzen.elc dzen.el eltuki.elc eltuki.el ext.elc ext.el \
metalexpress.elc metalexpress.el mu4e-init.elc mu4e-init.el \
newsticker-init.elc newsticker-init.el oni.elc oni.el org-init.elc \
org-init.el quick-edit-mode.elc quick-edit-mode.el
include ../emacs.mk
include ../../dotfiles.mk

View file

@ -1,4 +1,4 @@
DESTDIR=$(HOME)/.emacs.d/snippets
DESTDIR:=$(DESTDIR)/snippets
modules=html-mode org-mode
include ../emacs.mk
include ../../dotfiles.mk

View file

@ -1,4 +1,4 @@
DESTDIR=$(HOME)/.emacs.d/snippets/html-mode
DESTDIR:=$(DESTDIR)/html-mode
objects=for generic-block
include ../../emacs.mk
include ../../../dotfiles.mk

View file

@ -1,4 +1,4 @@
DESTDIR=$(HOME)/.emacs.d/snippets/org-mode
DESTDIR:=$(DESTDIR)/org-mode
objects=codeblock heading
include ../../emacs.mk
include ../../../dotfiles.mk

5
.moc/Makefile Normal file
View file

@ -0,0 +1,5 @@
DESTDIR:=$(DESTDIR)/.moc
modules=themes
objects=config
include ../dotfiles.mk

4
.moc/themes/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/themes
objects=custom
include ../../dotfiles.mk

6
.mutt/Makefile Normal file
View file

@ -0,0 +1,6 @@
DESTDIR:=$(DESTDIR)/.mutt
objects=aethon.muttrc arch.muttrc colors.muttrc gmail.muttrc \
iactor.muttrc macros mailcap muttrc ninthfloor.muttrc \
ryuslash.org.muttrc sig
include ../dotfiles.mk

4
.ncmpcpp/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/.ncmpcpp
objects=config
include ../dotfiles.mk

4
.pentadactyl/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/.pentadactyl
modules=plugins
include ../dotfiles.mk

View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/plugins
objects=emacs.penta
include ../../dotfiles.mk

4
.sawfish/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/.sawfish
objects=rc
include ../dotfiles.mk

4
.w3m/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/.w3m
objects=config
include ../dotfiles.mk

4
.zsh/Makefile Normal file
View file

@ -0,0 +1,4 @@
DESTDIR:=$(DESTDIR)/.zsh
modules=functions
include ../dotfiles.mk

7
.zsh/functions/Makefile Normal file
View file

@ -0,0 +1,7 @@
DESTDIR:=$(DESTDIR)/functions
objects=chpwd_show_todo chpwd_update_git_vars env get_cnt line \
precmd_maybe_festival precmd_update_git_vars precmd_update_updates \
preexec_update_vars prompt prompt_git_info rprompt \
update_current_git_vars welcome
include ../../dotfiles.mk

9
Makefile Normal file
View file

@ -0,0 +1,9 @@
export DESTDIR:=$(HOME)
modules=.emacs.d .config .conkerorrc .local .moc .mutt .ncmpcpp \
.pentadactyl .sawfish .ssh .w3m .weechat .zsh
objects=.bash_profile .beetsconfig .conky_box.lua .conkyrc .gitconfig \
.guile .hgrc .offlineimap.py .offlineimaprc .screenrc .scwmrc \
.slrnrc .stumpwmrc .tmux.conf .urlview .xbindkeysrc.scm .Xdefaults \
.xinitrc .Xmodmap .xsession .zprofile .zshrc
include dotfiles.mk

View file

@ -19,16 +19,16 @@ install-modules=$(addprefix install-,$(modules))
uninstall-modules=$(addprefix uninstall-,$(modules))
check-modules=$(addprefix check-,$(modules))
.PHONY: install uninstall check uninstall $(modules)
.PHONY: all install uninstall check uninstall $(modules) \
$(install-objects) $(uninstall-objects) $(check-objects) \
$(install-modules) $(uninstall-modules) $(check-modules)
all: $(modules) $(objects)
install: $(install-modules) $(install-objects)
check: $(check-modules) $(check-objects)
uninstall: $(uninstall-modules) $(uninstall-objects)
$(filter %.elc,$(objects)): %.elc: %.el
$(call compile,$^)
$(modules): %:
@echo $(MAKEFILES)
@$(MAKE) -C $*
$(install-objects): install-%: %
@ -50,3 +50,6 @@ $(check-objects): check-%:
$(check-modules): check-%:
@$(MAKE) -C $* check
$(filter %.elc,$(objects)): %.elc: %.el
$(call compile,$^)