From e1b8249d2ad811c14e7ff37d0a34d44ce721a4a7 Mon Sep 17 00:00:00 2001 From: Morgan Aldridge Date: Sat, 5 Jan 2019 21:52:00 -0500 Subject: [PATCH] Added initial Makefile to download icons & install configs, plus updated README w/prerequisites & usage instructions --- Makefile | 22 ++++++++++++++++++++++ README.md | 9 ++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..678c2cf --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +TEMP=tmp +CONF=.mlvwm +PIXMAP=$(CONF)/pixmap + +all: pixmap + +pixmap: + test ! -d $(TEMP) && mkdir $(TEMP) + test ! -d $(PIXMAP) && mkdir $(PIXMAP) + 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 + curl -# -L http://sb.fluomedia.org/macintosh/img/apple.xpm -o $(PIXMAP)/apple.xpm + curl -# -L http://sb.fluomedia.org/macintosh/img/finder.xpm -o $(PIXMAP)/finder.xpm + curl -# -L http://sb.fluomedia.org/macintosh/img/balloon.xpm -o $(PIXMAP)/balloon.xpm + +install: + cp -R $(CONF) $HOME/ + ln -s $HOME/$(CONF)/.mlvwmrc $HOME/.mlvwmrc + +clean: + rm -r $(PIXMAP)/*.xpm + rm -r $(TEMP) \ No newline at end of file diff --git a/README.md b/README.md index 0567ad9..bae7660 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,16 @@ This a set of configuration files for Takashi HASEGAWA's [Macintosh-like Virtual MLVWM includes a very rudimentary set of rc ([run command](https://en.wikipedia.org/wiki/Run_commands)) files and requires a fair amount of customization to better emulate Macintosh operating systems' UI. Additionally, since it is generally no more than a hobbyist window manager, no appropriate structure for the rc files (esp. for individual applications), icons (i.e. pixmaps), etc. Last, but not least, I wanted to reduce the amount of configuration needed every time I configure MLVWM on a new workstation. +## PREREQUISITES + +* `mlvwm` +* `xpm` +* `locale` +* `make` + ## USAGE -_TBD_ +Run `make && make install && make clean` to install `.mlvwmrc` and `.mlvwm/` in your home directory, including downloading appropriate icons. ## LICENSE