summaryrefslogtreecommitdiffstats
path: root/mga-bg-res/Makefile
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2015-03-05 14:48:41 +0100
committerRémi Verschelde <remi@verschelde.fr>2015-03-05 14:48:41 +0100
commit423659fa5ff872dd27bd336a3d0f4dca850ec9d9 (patch)
tree2a4fe29a3ac37d72bc7c0a4e76622b76f0288450 /mga-bg-res/Makefile
parent2d6e718d62c49131cfdc20e9490a36f9a5605622 (diff)
downloadtheme-423659fa5ff872dd27bd336a3d0f4dca850ec9d9.tar
theme-423659fa5ff872dd27bd336a3d0f4dca850ec9d9.tar.gz
theme-423659fa5ff872dd27bd336a3d0f4dca850ec9d9.tar.bz2
theme-423659fa5ff872dd27bd336a3d0f4dca850ec9d9.tar.xz
theme-423659fa5ff872dd27bd336a3d0f4dca850ec9d9.zip
Import mga-bg-res 0.2 into design/theme
Diffstat (limited to 'mga-bg-res/Makefile')
-rw-r--r--mga-bg-res/Makefile27
1 files changed, 27 insertions, 0 deletions
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