1 --- src/makefile 2015-10-22 22:12:09.111700293 +0200
2 +++ src/makefile 2015-10-22 22:12:29.688347815 +0200
7 - valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" -X -Wl,-rpath,/usr/share/${app_name}/libs "Main.vala" "MainWindow.vala" "EditWidgetWindow.vala" "EditThemeWindow.vala" "SettingsWindow.vala" "DonationWindow.vala" "GeneratePreviewWindow.vala" "AboutWindow.vala" "Utility.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0
8 + valac -X -D'GETTEXT_PACKAGE="${app_name}"' --Xcc="-lm" "Main.vala" "MainWindow.vala" "EditWidgetWindow.vala" "EditThemeWindow.vala" "SettingsWindow.vala" "DonationWindow.vala" "GeneratePreviewWindow.vala" "AboutWindow.vala" "Utility.vala" -o ${app_name} --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-0.8 --pkg json-glib-1.0
10 #update translation template
11 xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008@gmail.com)' --package-name='${app_name}' --package-version='2.0' --msgid-bugs-address='teejee2008@gmail.com' --escape --sort-output -o ../${app_name}.pot *.vala
15 install -m 0755 ${app_name} "$(DESTDIR)$(bindir)"
16 - install -m 0755 ${app_name}-uninstall "$(DESTDIR)$(bindir)"
19 - install -m 0755 ${app_name}.desktop "$(DESTDIR)$(launcherdir)"
20 + install -m 644 ${app_name}.desktop "$(DESTDIR)$(launcherdir)"
23 - install -m 0755 share/pixmaps/${app_name}.png "$(DESTDIR)$(sharedir)/pixmaps"
24 + install -m 644 share/pixmaps/${app_name}.png "$(DESTDIR)$(sharedir)/pixmaps"
27 - install -m 0755 ${app_name}.appdata.xml "$(DESTDIR)$(sharedir)/appdata"
28 + install -m 644 ${app_name}.appdata.xml "$(DESTDIR)$(sharedir)/appdata"
31 cp -dpr --no-preserve=ownership -t "$(DESTDIR)$(sharedir)/${app_name}" ./share/${app_name}/*
32 - chmod --recursive 0755 $(DESTDIR)$(sharedir)/${app_name}/*
33 + chmod --recursive 644 $(DESTDIR)$(sharedir)/${app_name}/*
34 + find $(DESTDIR)$(sharedir)/${app_name} -type d -exec chmod +x '{}' +
37 mkdir -p "$(DESTDIR)$(localedir)/cs_CZ/LC_MESSAGES"
41 rm -f "$(DESTDIR)$(bindir)/${app_name}"
42 - rm -f "$(DESTDIR)$(bindir)/${app_name}-uninstall"
45 rm -f "$(DESTDIR)$(launcherdir)/${app_name}.desktop"