From 423659fa5ff872dd27bd336a3d0f4dca850ec9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 5 Mar 2015 14:48:41 +0100 Subject: Import mga-bg-res 0.2 into design/theme --- mga-bg-res/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mga-bg-res/Makefile (limited to 'mga-bg-res/Makefile') diff --git a/mga-bg-res/Makefile b/mga-bg-res/Makefile new file mode 100644 index 0000000..d533791 --- /dev/null +++ b/mga-bg-res/Makefile @@ -0,0 +1,27 @@ +VERSION:=$(shell cat VERSION) + +mga-bg-res: + gcc -O2 -g -Wall -o mga-bg-res mga-bg-res.c + +install: + mkdir -p $(DESTDIR)/usr/bin/ + cp mga-bg-res $(DESTDIR)/usr/bin/ + chmod u+s $(DESTDIR)/usr/bin/mga-bg-res + mkdir -p $(DESTDIR)/etc/X11/xinit.d/ + cp mga-bg-res.xinit $(DESTDIR)/etc/X11/xinit.d/01mga-bg-res + +uninstall: + rm -f $(DESTDIR)/usr/bin/mga-bg-res + rm -f $(DESTDIR)/etc/X11/xinit.d/01mga-bg-res + +dist: + mkdir mga-bg-res-$(VERSION) + cp mga-bg-res.c mga-bg-res-$(VERSION)/ + cp mga-bg-res.xinit mga-bg-res-$(VERSION)/ + cp Makefile mga-bg-res-$(VERSION)/ + cp VERSION mga-bg-res-$(VERSION)/ + tar caf mga-bg-res-$(VERSION).tar.xz mga-bg-res-$(VERSION) + rm -rf mga-bg-res-$(VERSION) + +clean: + rm -f mga-bg-res -- cgit v1.2.1