blob: d3e47ce453ad5bc68a695fa4a24f511f5b3120ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|