2019-01-05 21:52:00 -05:00
|
|
|
TEMP=tmp
|
|
|
|
CONF=.mlvwm
|
|
|
|
PIXMAP=$(CONF)/pixmap
|
2019-07-26 22:12:54 -04:00
|
|
|
PATTERNS=$(CONF)/patterns
|
2019-01-05 21:52:00 -05:00
|
|
|
|
2019-07-26 22:12:54 -04:00
|
|
|
all: pixmap patterns
|
2019-01-05 21:52:00 -05: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-07-26 22:12:54 -04: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-05 21:52:00 -05:00
|
|
|
install:
|
2019-01-05 21:58:27 -05:00
|
|
|
cp -R $(CONF) $(HOME)/
|
2019-01-05 22:11:38 -05:00
|
|
|
ln -fs $(HOME)/$(CONF)/.mlvwmrc $(HOME)/.mlvwmrc
|
2019-01-05 22:17:07 -05:00
|
|
|
sed -i 's@/home2/tak/bin/pixmap@$(HOME)/$(PIXMAP)@g' $(HOME)/$(CONF)/.mlvwmrc
|
2019-01-05 21:52:00 -05:00
|
|
|
|
|
|
|
clean:
|
2019-01-06 01:40:27 -05:00
|
|
|
rm -r $(TEMP)
|
2019-07-26 22:12:54 -04:00
|
|
|
rm -r $(PIXMAP)/mini*.xpm
|
|
|
|
rm -rf $(PATTERNS)
|