summaryrefslogtreecommitdiffabout
path: root/pwmanager/Makefile.am
blob: 91202d2a1e04d58f8f453fecfd794d4debe00da8 (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
SUBDIRS = pwmanager

AUTOMAKE_OPTIONS = dist-bzip2

MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files 

EXTRA_DIST = rpm debian file-format keycard-format COPYING.LGPL CodingStyle

# target to generate a .pot file manually (without scripty)
messages_manually:
	extractrc `find . -name "*.rc" -o -name "*.ui"` > rc.cpp
	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
	if test -n "$$LIST"; then \
		 xgettext -ki18n -kI18N_NOOP -o ./pwmanager.pot $$LIST ; \
	fi
	rm -f rc.cpp

# target for automatic .pot file merging by scripty.
# disable this target to disable automatic merging.
#messages: rc.cpp
#	$(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui"` > rc.cpp
#	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
#	if test -n "$$LIST"; then \
#		 $(XGETTEXT) $$LIST -o $(podir)/pwmanager.pot; \
#	fi
#	rm -f rc.cpp