aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-07-12 13:45:52 +0000
committerNicolas Vigier <boklm@mageia.org>2013-07-12 13:45:52 +0000
commitd943e91650ee4190cd2bd8800156931c80d897a2 (patch)
treec99a08996b2bbdbe59b72c6ad19c10e0423b1874 /Makefile
parent3ec9caf889000ef2187375bde10a6f8575bbf008 (diff)
downloadmgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.tar
mgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.tar.gz
mgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.tar.bz2
mgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.tar.xz
mgaadvisories-d943e91650ee4190cd2bd8800156931c80d897a2.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 92043aa..34acbcd 100644
--- a/Makefile
+++ b/Makefile
@@ -4,22 +4,26 @@ PROJECTNAME=mga-advisories
BINFILES=mgaadv
CFGFILES=mga-advisories.conf
TMPLFILES=tmpl/*.html tmpl/*.txt tmpl/*.adv tmpl/*.rss
+STATICFILES=static/*
sysconfdir=/etc
bindir=/usr/bin
sharedir=/usr/share
projectdir=$(sharedir)/$(PROJECTNAME)
tmpldir=$(projectdir)/tmpl
+staticdir=$(projectdir)/static
perldir=/usr/lib/perl5/site_perl
all:
install:
install -d $(DESTDIR)$(projectdir) $(DESTDIR)$(tmpldir) \
- $(DESTDIR)$(bindir) $(DESTDIR)$(sysconfdir)
+ $(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)
install -m 644 config_default $(DESTDIR)$(projectdir)/config
install -d $(DESTDIR)$(perldir)/MGA
install -m 644 lib/MGA/Advisories.pm $(DESTDIR)$(perldir)/MGA
an class="hl kwa">goto-char p)))) (save-buffer) (kill-emacs) )