diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-12 15:13:19 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-12 15:13:19 +0900 |
commit | 29089bb30a29945ccabfc50f9354d5ab0ede2c20 (patch) | |
tree | ecd52f07fb8fbed1db68e1ed1d0b475ee17f289b /Makefile.am | |
parent | 0b7275a0909f162e19882b04336dae43d84ceb2e (diff) | |
download | iso-codes-29089bb30a29945ccabfc50f9354d5ab0ede2c20.tar.gz iso-codes-29089bb30a29945ccabfc50f9354d5ab0ede2c20.tar.bz2 iso-codes-29089bb30a29945ccabfc50f9354d5ab0ede2c20.zip |
Tizen 2.1 baseupstream/3.13submit/tizen_2.1/20130423.103251submit/tizen/20130517.050313accepted/tizen_2.1/20130423.151538accepted/tizen/20130520.1017552.1b_releasetizen_2.1
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..4721238 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,34 @@ +SUBDIRS = iso_15924 iso_3166 iso_3166_2 iso_4217 iso_639 iso_639_3 + +pkgconfigdir = $(datadir)/pkgconfig +pkgconfig_DATA = iso-codes.pc + +EXTRA_DIST = \ + LICENSE \ + rules.make \ + iso2pot.py \ + check_valid_utf8.pl + +DISTCLEANFILES = $(pkgconfig_DATA) + + +.PHONY: release +release: check distcheck + +.PHONY: sign-release +sign-release: iso-codes-$(VERSION).tar.bz2 + rm -f iso-codes-$(VERSION).tar.bz2.sig + gpg --detach-sign iso-codes-$(VERSION).tar.bz2 + +.PHONY: upload +upload: + @if [[ "$(ALIOTH_USERNAME)" == "" ]]; then \ + echo "Please set your Alioth username. Example command line:"; \ + echo " ALIOTH_USERNAME=toddy make upload"; \ + fi + @if [[ -f "iso-codes-$(VERSION).tar.bz2" ]] \ + && [[ -f "iso-codes-$(VERSION).tar.bz2.sig" ]] \ + && [[ -n "$(ALIOTH_USERNAME)" ]]; then \ + scp iso-codes-$(VERSION).tar.* \ + $(ALIOTH_USERNAME)@alioth.debian.org:/var/lib/gforge/chroot/ftproot/pub/pkg-isocodes; \ + fi |