[tasque/xbuild] [xbuild] Fix target install. Add target uninstall
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/xbuild] [xbuild] Fix target install. Add target uninstall
- Date: Sat, 1 Sep 2012 14:43:31 +0000 (UTC)
commit f42d4357047550d10a043af14f3b3fbcf79d44b9
Author: Antonius Riha <antoniusriha gmail com>
Date: Fri Aug 31 19:15:40 2012 +0200
[xbuild] Fix target install. Add target uninstall
* Install i18n files into localedir not datadir.
* Add missing uninstall target
po/po.mdproj | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/po/po.mdproj b/po/po.mdproj
index 96542dd..d824307 100644
--- a/po/po.mdproj
+++ b/po/po.mdproj
@@ -124,7 +124,10 @@
<Delete Files="%(GettextTranslation.FileName).gmo" />
</Target>
<Target Name="Install">
- <Copy SourceFiles="%(GettextTranslation.FileName).gmo" DestinationFiles="$(DataDir)\%(GettextTranslation.FileName)\LC_MESSAGES\tasque.mo" />
+ <Copy SourceFiles="%(GettextTranslation.FileName).gmo" DestinationFiles="$(LocaleDir)\%(GettextTranslation.FileName)\LC_MESSAGES\tasque.mo" />
+ </Target>
+ <Target Name="Uninstall">
+ <Delete Files="$(LocaleDir)\%(GettextTranslation.FileName)\LC_MESSAGES\tasque.mo" />
</Target>
<Target Name="Update">
<Exec Command="$(IntlToolUpdate) --gettext-package tasque --pot" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]