2019-01-06 02:52:00 +00:00
|
|
|
TEMP=tmp
|
|
|
|
CONF=.mlvwm
|
|
|
|
PIXMAP=$(CONF)/pixmap
|
2019-07-27 02:12:54 +00:00
|
|
|
PATTERNS=$(CONF)/patterns
|
2019-01-06 02:52:00 +00:00
|
|
|
|
2019-07-27 02:12:54 +00:00
|
|
|
all: pixmap patterns
|
2019-01-06 02:52:00 +00:00
|
|
|
|
|
|
|
pixmap:
|
|
|
|
test ! -d $(TEMP) && mkdir $(TEMP)
|
|
|
|
curl -# -L http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/mini-icons.tar.gz -o $(TEMP)/mini-icons.tar.gz
|
|
|
|
tar -C $(PIXMAP) -xzf $(TEMP)/mini-icons.tar.gz
|
2019-08-02 18:10:56 +00:00
|
|
|
curl -# -L https://raw.githubusercontent.com/videolan/vlc/master/share/icons/16x16/vlc.xpm -o $(PIXMAP)/vlc.xpm
|
2023-07-25 20:19:58 +00:00
|
|
|
convert https://www.chromium.org/favicon.ico $(PIXMAP)/chromium.xpm
|
|
|
|
curl -# -L https://claws-mail.org/favicon.ico -o $(TEMP)/claws-mail-favicon.ico
|
|
|
|
curl -# -L https://iridiumbrowser.de/favicon.ico -o $(TEMP)/iridium-favicon.ico
|
|
|
|
convert $(TEMP)/claws-mail-favicon.ico $(PIXMAP)/claws-mail.xpm
|
|
|
|
convert $(TEMP)/iridium-favicon.ico[2] $(PIXMAP)/iridium.xpm
|
2019-01-06 02:52:00 +00:00
|
|
|
|
2019-07-27 02:12:54 +00:00
|
|
|
patterns:
|
|
|
|
test ! -d $(PATTERNS) && mkdir $(PATTERNS)
|
|
|
|
curl -# -L https://forums.macrumors.com/attachments/mac-os-background-jpg.61609 -o $(PATTERNS)/mac-os-background.jpg
|
|
|
|
curl -# -L https://forums.macrumors.com/attachments/mac-os-default-png.61610 -o $(PATTERNS)/mac-os-default.png
|
|
|
|
|
2019-01-06 02:52:00 +00:00
|
|
|
install:
|
2019-01-06 02:58:27 +00:00
|
|
|
cp -R $(CONF) $(HOME)/
|
2019-01-06 03:11:38 +00:00
|
|
|
ln -fs $(HOME)/$(CONF)/.mlvwmrc $(HOME)/.mlvwmrc
|
2019-01-06 03:17:07 +00:00
|
|
|
sed -i 's@/home2/tak/bin/pixmap@$(HOME)/$(PIXMAP)@g' $(HOME)/$(CONF)/.mlvwmrc
|
2019-01-06 02:52:00 +00:00
|
|
|
|
2023-07-25 20:19:58 +00:00
|
|
|
clean: clean-pixmap
|
2019-01-06 06:40:27 +00:00
|
|
|
rm -r $(TEMP)
|
2019-07-27 02:12:54 +00:00
|
|
|
rm -rf $(PATTERNS)
|
2023-07-25 20:19:58 +00:00
|
|
|
|
|
|
|
clean-pixmap:
|
|
|
|
rm $(PIXMAP)/mini*.xpm
|
|
|
|
rm $(PIXMAP)/chromium.xpm
|
|
|
|
rm $(PIXMAP)/claws-mail.xpm
|
|
|
|
rm $(PIXMAP)/iridium.xpm
|
|
|
|
rm $(PIXMAP)/vlc.xpm
|
|
|
|
|