aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2014-06-16 00:42:59 +0200
committerRémi Verschelde <remi@verschelde.fr>2014-06-16 00:42:59 +0200
commitf34f0bc0ed394f05996c3938afbfa2e069d581fe (patch)
treea553d57da31b56c06622c561f4c22b129cd4f1f2 /Makefile
parent2a02971bb9f7e1a41ed6683b77e00af9b6303212 (diff)
downloadisodumper-f34f0bc0ed394f05996c3938afbfa2e069d581fe.tar
isodumper-f34f0bc0ed394f05996c3938afbfa2e069d581fe.tar.gz
isodumper-f34f0bc0ed394f05996c3938afbfa2e069d581fe.tar.bz2
isodumper-f34f0bc0ed394f05996c3938afbfa2e069d581fe.tar.xz
isodumper-f34f0bc0ed394f05996c3938afbfa2e069d581fe.zip
Improvements to the Makefile and new SVG version of the icon
- Add a new SVG version of the icon and install it - Proper instruction to create a tarball with "make tar" - Replace broken "make clean" instructions with correct ones
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1a73fe3..eb4352b 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
@@ -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