aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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