aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordavid_david <david.david@mageialinux-online.org>2014-06-16 18:06:56 +0200
committerdavid_david <david.david@mageialinux-online.org>2014-06-16 18:06:56 +0200
commit8cfd5bf85afbaa04938c4e34d100d71f55e09057 (patch)
tree795eaa4ab016181a8bf87461bd2a4afcdb484b34 /Makefile
parent2a02971bb9f7e1a41ed6683b77e00af9b6303212 (diff)
parentc184e9066ed070aa52bf0af7f6d4f57507b2c8b2 (diff)
downloadisodumper-8cfd5bf85afbaa04938c4e34d100d71f55e09057.tar
isodumper-8cfd5bf85afbaa04938c4e34d100d71f55e09057.tar.gz
isodumper-8cfd5bf85afbaa04938c4e34d100d71f55e09057.tar.bz2
isodumper-8cfd5bf85afbaa04938c4e34d100d71f55e09057.tar.xz
isodumper-8cfd5bf85afbaa04938c4e34d100d71f55e09057.zip
Merge pull request #21 from akien-mageia/master
Various Makefile improvements, icon license clarifications and new svg icon
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 1a73fe3..e5ad9bd 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ DOCDIR=$(PREFIX)/share/doc/isodumper
PYTHON=/usr/bin/env python
DIRS = polkit
-all: dirs
+all: dirs tar
dirs:
@for n in . $(DIRS); do \
@@ -35,7 +35,8 @@ dirs:
done
clean:
- rm -f isodumper COPYING CHANGELOG
+ rm -f polkit/isodumper polkit/org.mageia.isodumper.policy \
+ isodumper.tar.xz
install: all
@@ -70,7 +71,7 @@ install: all
# for isodumper doc
mkdir -p $(DESTDIR)$(DOCDIR)
- install -m 644 COPYING CHANGELOG README.md i18n.md $(DESTDIR)$(DOCDIR)
+ install -m 644 COPYING.GPL COPYING.LGPL CHANGELOG README.md i18n.md $(DESTDIR)$(DOCDIR)
# for isodumper icons
#NOTE: You must install imagemagick package.
@@ -87,6 +88,7 @@ install: all
mkdir -p $(DESTDIR)$(ICONSDIR)/hicolor/$$png/apps; \
convert isodumper.png -geometry $$png $(DESTDIR)$(ICONSDIR)/hicolor/$$png/apps/isodumper.png; \
done
+ install -D -m 644 isodumper.svg $(DESTDIR)$(ICONSDIR)/hicolor/scalable/apps/isodumper.svg
# for isodumper.mo translations
for locale in share/locale/*; \
@@ -96,7 +98,8 @@ install: all
done
-tar: isodumper.tar.gz
+tar:
+ tar cvJf isodumper.tar.xz *
README.txt: README.md
@@ -104,4 +107,4 @@ README.txt: README.md
i18n.txt: i18n.md
- pandoc -f markdown -t plain i18n.md -o i18n.txt \ No newline at end of file
+ pandoc -f markdown -t plain i18n.md -o i18n.txt