1## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3SUBDIRS= po
4
5AUTOMAKE_OPTIONS = gnits 1.11 subdir-objects
6
7SUFFIXES=
8ALL_LOCAL=
9CLEAN_LOCAL=
10
11
12icondir=$(pkgdatadir)/icons
13AM_CPPFLAGS=-DLOCALEDIR=\"$(localedir)\" -DPKGICONDIR=\"$(icondir)\"
14
15AM_CFLAGS=
16
17if cc_is_gcc
18AM_CFLAGS+=-Wall -Wwrite-strings \
19-Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
20endif
21
22
23include $(top_srcdir)/src/automake.mk
24include $(top_srcdir)/scripts/automake.mk
25include $(top_srcdir)/doc/automake.mk
26include $(top_srcdir)/po/automake.mk
27include $(top_srcdir)/icons/automake.mk
28
29
30ACLOCAL_AMFLAGS = -I m4
31
32all-local: $(ALL_LOCAL)
33
34$(PACKAGE)-$(VERSION).tar.gz.directive: $(PACKAGE)-$(VERSION).tar.gz
35	echo version: 1.1 > $@
36	echo directory: gnubik >> $@
37	echo filename: $< >> $@
38
39$(PACKAGE)-$(VERSION).tar.gz.directive.asc: $(PACKAGE)-$(VERSION).tar.gz.directive
40	gpg --clearsign $<
41
42$(PACKAGE)-$(VERSION).tar.gz.sig: $(PACKAGE)-$(VERSION).tar.gz
43	gpg -b $<
44
45.PHONY: release
46
47release: distcheck $(PACKAGE)-$(VERSION).tar.gz.directive.asc $(PACKAGE)-$(VERSION).tar.gz.sig
48
49