aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-07-13 11:26:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-07-13 11:26:12 +0000
commit44acb4196a6e0bed7de44292804c34b7722b6b3e (patch)
treeccd985942be0b2bbb5be601fa9efff37c240643d /Makefile
parent611c89d50cbd94a1b56f6344c59f6145c10a9e77 (diff)
downloadmgapeople-44acb4196a6e0bed7de44292804c34b7722b6b3e.tar
mgapeople-44acb4196a6e0bed7de44292804c34b7722b6b3e.tar.gz
mgapeople-44acb4196a6e0bed7de44292804c34b7722b6b3e.tar.bz2
mgapeople-44acb4196a6e0bed7de44292804c34b7722b6b3e.tar.xz
mgapeople-44acb4196a6e0bed7de44292804c34b7722b6b3e.zip
Add stylesheet and mageia navigation bar
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 82f2fc3..2908ee6 100644
--- a/Makefile
+++ b/Makefile
@@ -3,17 +3,21 @@ VERSION=0.4
BINFILES=mkpeople
CFGFILES=mgapeople.conf
TMPLFILES=tmpl/*.html tmpl/*.txt
+STATICFILES=static/*
sysconfdir=/etc
bindir=/usr/bin
sharedir=/usr/share
tmpldir=$(sharedir)/mgapeople/tmpl
+staticdir=$(sharedir)/mgapeople/static
install:
- install -d $(DESTDIR)$(tmpldir) $(DESTDIR)$(bindir) $(DESTDIR)$(sysconfdir)
+ install -d $(DESTDIR)$(tmpldir) $(DESTDIR)$(bindir) \
+ $(DESTDIR)$(sysconfdir) $(DESTDIR)$(staticdir)
install -m 755 $(BINFILES) $(DESTDIR)$(bindir)
install -m 644 $(CFGFILES) $(DESTDIR)$(sysconfdir)
install -m 644 $(TMPLFILES) $(DESTDIR)$(tmpldir)
+ install -m 644 $(STATICFILES) $(DESTDIR)$(staticdir)
tar:
git archive --format=tar --prefix mgapeople-$(VERSION)/ HEAD | xz > mgapeople-$(VERSION).tar.xz