aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-13 21:25:30 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-13 21:25:30 +0000
commit2a0d262448a15bf161549c9b553e53ea4de15658 (patch)
tree6b90b31107701b448fd4de94fffdeb0264fb43b9
parentf930146969e88dd13e3cf0d58c4df170acf89e45 (diff)
downloadmgaadvisories-2a0d262448a15bf161549c9b553e53ea4de15658.tar
mgaadvisories-2a0d262448a15bf161549c9b553e53ea4de15658.tar.gz
mgaadvisories-2a0d262448a15bf161549c9b553e53ea4de15658.tar.bz2
mgaadvisories-2a0d262448a15bf161549c9b553e53ea4de15658.tar.xz
mgaadvisories-2a0d262448a15bf161549c9b553e53ea4de15658.zip
Fix Makefile
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3fcf89e..4eebb6e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION=0.4
PROJECTNAME=mga-advisories
-BINFILES=mkadvisories
+BINFILES=mgaadv
CFGFILES=mga-advisories.conf
TMPLFILES=tmpl/*.html tmpl/*.txt tmpl/*.adv
@@ -10,6 +10,7 @@ bindir=/usr/bin
sharedir=/usr/share
projectdir=$(sharedir)/$(PROJECTNAME)
tmpldir=$(projectdir)/tmpl
+perldir=/usr/lib/perl5/site_perl
all:
@@ -20,6 +21,8 @@ install:
install -m 644 $(CFGFILES) $(DESTDIR)$(sysconfdir)
install -m 644 $(TMPLFILES) $(DESTDIR)$(tmpldir)
install -m 644 config_default $(DESTDIR)$(projectdir)/config
+ install -d $(DESTDIR)$(perldir)/MGA
+ install -m 644 lib/MGA/Advisories.pm $(DESTDIR)$(perldir)/MGA
tar:
git archive --format=tar --prefix $(PROJECTNAME)-$(VERSION)/ HEAD | \