From f183cfec8b565beeafd93f8f8b76a23fa71e78ff Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 9 Nov 2022 16:04:18 -0500 Subject: add fluxbox --- fluxbox/debian/additional-themes/Makefile | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 fluxbox/debian/additional-themes/Makefile (limited to 'fluxbox/debian/additional-themes/Makefile') 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 -- cgit