File: Makefile

package info (click to toggle)
frescobaldi 3.3.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,212 kB
  • sloc: python: 39,014; javascript: 263; sh: 238; makefile: 80
file content (19 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TOP_SRCDIR=..
APP_ID=org.frescobaldi.Frescobaldi

.PHONY: all clean validate

all: $(APP_ID).desktop $(APP_ID).metainfo.xml

%.desktop: %.desktop.in
	msgfmt --desktop -d $(TOP_SRCDIR)/i18n/frescobaldi --template $< -o $@

%.metainfo.xml: %.metainfo.xml.in
	msgfmt --xml -d $(TOP_SRCDIR)/i18n/frescobaldi --template $< -o $@

validate:
	desktop-file-validate --no-hints $(APP_ID).desktop
	appstream-util validate $(APP_ID).metainfo.xml

clean:
	rm $(APP_ID).{desktop,metainfo.xml}