File: Makefile.am

package info (click to toggle)
iso-codes 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 67,556 kB
  • sloc: python: 1,021; sh: 475; sed: 75; makefile: 46
file content (44 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download | duplicates (2)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
SUBDIRS = $(DOMAINS)

pkgconfigdir = $(datadir)/pkgconfig
pkgconfig_DATA = iso-codes.pc

# Install the JSON files.
jsondir = $(pkgdatadir)/json
dist_json_DATA = $(wildcard $(srcdir)/data/*.json)

# Include the "bin" directory, the bootstrap script,
# the common Makefile snippet
# and the markdown documentation currently not handled
# by automake
EXTRA_DIST = bin bootstrap common.mk README.md ChangeLog.md

DISTCLEANFILES = $(pkgconfig_DATA)

# Updates all pot files
.PHONY: pot
pot:
	for domain in $(DOMAINS); do \
		cd $$domain && make $$domain.pot && cd ..; \
	done

# Updates all xml files
.PHONY: xml
xml:
	for domain in $(DOMAINS); do \
		cd $$domain && make $$domain.xml && cd ..; \
	done

.PHONY: release
release: update-po check distcheck

.PHONY: update-po
update-po:
	for domain in $(DOMAINS); do \
		cd $$domain && make update-po && cd ..; \
	done

.PHONY: sign-release
sign-release: iso-codes-$(VERSION).tar.xz
	rm -f iso-codes-$(VERSION).tar.xz.sig
	gpg --detach-sign iso-codes-$(VERSION).tar.xz