diff options
author | B. Stack <bgstack15@gmail.com> | 2022-11-09 16:04:18 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-11-09 16:04:18 -0500 |
commit | f183cfec8b565beeafd93f8f8b76a23fa71e78ff (patch) | |
tree | 654464b353c105428b65355a80d1322a2301483c /fluxbox/debian/additional-themes/Makefile | |
parent | Merge branch 'freefilesync-bump' into 'master' (diff) | |
download | stackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.tar.gz stackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.tar.bz2 stackrpms-f183cfec8b565beeafd93f8f8b76a23fa71e78ff.zip |
add fluxbox
Diffstat (limited to 'fluxbox/debian/additional-themes/Makefile')
-rw-r--r-- | fluxbox/debian/additional-themes/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/fluxbox/debian/additional-themes/Makefile b/fluxbox/debian/additional-themes/Makefile new file mode 100644 index 0000000..d3e47ce --- /dev/null +++ b/fluxbox/debian/additional-themes/Makefile @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +DEB_STYLE_DIR := /usr/share/fluxbox/styles/ +DEB_IMAGE_DIR := /usr/share/images/fluxbox/ + +FLUXBOX_VENDOR := $(shell \ + if dpkg-vendor --derives-from Ubuntu; then \ + echo Ubuntu; \ + else \ + echo Debian; \ + fi \ +) + +all: + @echo "OK. Doing the theme building." + @echo "Looks like we're doing this package for $(FLUXBOX_VENDOR)" + # Let's blast the old directory + rm -rf ./stage ./stage-images + mkdir ./stage ./stage-images + # OK. Let's stage up some files. + cp ./Common/* ./stage -rv + cp ./$(FLUXBOX_VENDOR)/* ./stage -rv + cp ./Images/Common/* ./stage-images -rv + cp ./Images/$(FLUXBOX_VENDOR)/* ./stage-images -rv + +install: + mkdir -p ../fluxbox/$(DEB_STYLE_DIR) + mkdir -p ../fluxbox/$(DEB_IMAGE_DIR) + cp ./stage/* ../fluxbox/$(DEB_STYLE_DIR) -rv + cp ./stage-images/* ../fluxbox/$(DEB_IMAGE_DIR) -rv + +clean: + rm -rf ./stage ./stage-images |