summaryrefslogtreecommitdiff
path: root/net/corebird/patches/patch-data_Makefile.am
blob: 6ec72723752f6eb9158013171eab8dcbf66bea04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-data_Makefile.am,v 1.2 2017/01/14 09:28:41 ryoon Exp $

* Workarounf for a lack of 'msgfmt --xml' and 'msgfmt --desktop'

--- data/Makefile.am.orig	2017-01-06 15:03:13.000000000 +0000
+++ data/Makefile.am
@@ -9,13 +9,17 @@ appdatadir = $(datarootdir)/appdata
 appdata_in_files = org.baedert.corebird.appdata.xml.in
 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
 
+#%.desktop: %.desktop.in
+#	msgfmt --desktop -d $(top_srcdir)/po \
+#	--template $< -o $@
 %.desktop: %.desktop.in
-	msgfmt --desktop -d $(top_srcdir)/po \
-	--template $< -o $@
+	cp $^ $@
 
+#%.appdata.xml: %.appdata.xml.in
+#	msgfmt --xml -d $(top_srcdir)/po \
+#	--template $< -o $@
 %.appdata.xml: %.appdata.xml.in
-	msgfmt --xml -d $(top_srcdir)/po \
-	--template $< -o $@
+	cp $^ $@
 
 man_MANS = corebird.1