aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-02-21 23:49:28 +0000
committerNicolas Vigier <boklm@mageia.org>2013-02-21 23:49:28 +0000
commit0c32c5dc4c340621f45e90b28c7b6c7b22947aa0 (patch)
treecaad9171fed24e52bcb29721c9bf80b82e08a197 /Makefile
downloadmgapeople-0c32c5dc4c340621f45e90b28c7b6c7b22947aa0.tar
mgapeople-0c32c5dc4c340621f45e90b28c7b6c7b22947aa0.tar.gz
mgapeople-0c32c5dc4c340621f45e90b28c7b6c7b22947aa0.tar.bz2
mgapeople-0c32c5dc4c340621f45e90b28c7b6c7b22947aa0.tar.xz
mgapeople-0c32c5dc4c340621f45e90b28c7b6c7b22947aa0.zip
First version of mgapeople
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e09c664
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+VERSION=0.1
+
+BINFILES=mkpeople
+CFGFILES=mgapeople.conf
+TMPLFILES=tmpl/*.html
+
+sysconfdir=/etc
+bindir=/usr/bin
+sharedir=/usr/share
+tmpldir=$(sharedir)/mgapeople/tmpl
+
+install:
+ install -d $(DESTDIR)$(tmpldir) $(DESTDIR)$(bindir) $(DESTDIR)$(sysconfdir)
+ install -m 755 $(BINFILES) $(DESTDIR)$(bindir)
+ install -m 644 $(CFGFILES) $(DESTDIR)$(sysconfdir)
+ install -m 644 $(TMPLFILES) $(DESTDIR)$(tmpldir)
+
+tar:
+ git archive --format=tar --prefix mgapeople-$(VERSION)/ HEAD | xz > mgapeople-$(VERSION).tar.xz