Add colors.h to mkpatch
This commit is contained in:
parent
7a536b3a41
commit
57bc1f7f48
1
Makefile
1
Makefile
|
@ -65,6 +65,7 @@ install: all
|
|||
[ -f docs/toggle.def.mk ] || cp -f toggle.mk docs/toggle.def.mk || :
|
||||
[ -f docs/keybinds.def.h ] || cp -f keybinds.h docs/keybinds.def.h || :
|
||||
[ -f docs/actions.def.h ] || cp -f actions.h docs/actions.def.h || :
|
||||
[ -f docs/colors.def.h ] || cp -f colors.h docs/colors.def.h || :
|
||||
[ -f docs/status.def ] || cp -f status docs/status.def || :
|
||||
cp -f docs/keybinds ${DESTDIR}${PREFIX}/share/speedwm/keybinds
|
||||
cp -f docs/dependencies ${DESTDIR}${PREFIX}/share/speedwm/dependencies
|
||||
|
|
|
@ -15,6 +15,7 @@ CP() {
|
|||
cp docs/keybinds.def.h /tmp/keybinds.h
|
||||
cp docs/rules.def.h /tmp/rules.h
|
||||
cp docs/actions.def.h /tmp/actions.h
|
||||
cp docs/colors.def.h /tmp/colors.h
|
||||
cp docs/status.def /tmp/status
|
||||
}
|
||||
|
||||
|
@ -31,6 +32,7 @@ MKDIFF() {
|
|||
diff -up ./host.mk $CD/host.mk > $CD/host.mk_settings.patch && echo "Created host.mk patch (see host.mk_settings.patch)"
|
||||
diff -up ./rules.h $CD/rules.h > $CD/rules.h_settings.patch && echo "Created rules.h patch (see rules.h_settings.patch)"
|
||||
diff -up ./actions.h $CD/actions.h > $CD/actions.h_settings.patch && echo "Created actions.h patch (see actions.h_settings.patch)"
|
||||
diff -up ./colors.h $CD/colors.h > $CD/colors.h_settings.patch && echo "Created colors.h patch (see colors.h_settings.patch)"
|
||||
diff -up ./status $CD/status > $CD/status_settings.patch && echo "Created status patch (see status_settings.patch)"
|
||||
|
||||
# Delete
|
||||
|
@ -54,6 +56,7 @@ if [ "$1" = "-p" ]; then
|
|||
patch < keybinds.h_settings.patch
|
||||
patch < rules.h_settings.patch
|
||||
patch < actions.h_settings.patch
|
||||
patch < colors.h_settings.patch
|
||||
patch < status_settings.patch
|
||||
cd $CD
|
||||
exit 0
|
||||
|
@ -71,6 +74,7 @@ if [ "$1" = "-r" ]; then
|
|||
patch -R < keybinds.h_settings.patch
|
||||
patch -R < rules.h_settings.patch
|
||||
patch -R < actions.h_settings.patch
|
||||
patch -R < colors.h_settings.patch
|
||||
patch -R < status_settings.patch
|
||||
cd $CD
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue