File: Makefile.am

package info (click to toggle)
gxneur 0.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,760 kB
  • sloc: sh: 4,136; ansic: 4,088; makefile: 375; xml: 30
file content (52 lines) | stat: -rw-r--r-- 1,224 bytes parent folder | download
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
45
46
47
48
49
50
51
52
ACLOCAL_AMFLAGS = -I m4

SUBDIRS =			\
	data			\
	src			\
	pixmaps			\
	po			\
	ui

AUTOMAKE_OPTIONS =		\
	1.9			\
	dist-bzip2

noinst_DATA =			\
	README			\
	COPYING			\
	AUTHORS			\
	INSTALL			\
	NEWS			\
	TODO			\
	ChangeLog

Multimediadir = $(datadir)/applications
Multimedia_in_files = gxneur.desktop.in
Multimedia_DATA = $(Multimedia_in_files:.desktop.in=.desktop)

EXTRA_DIST = $(noinst_DATA) m4/ChangeLog gxneur.1 $(Multimedia_DATA) gxneur.desktop.in

man_MANS = gxneur.1

check-gettext:
	@if test x$(USE_NLS) != "xyes" ; then echo "Missing gettext. Rerun configure and check for" \
	"'checking whether to use NLS... yes'!" ; exit 1 ; fi

update-po: check-gettext
	@find $(srcdir)/src/ -name "*.cpp" -print | sort > $(srcdir)/po/POTFILES.in.2 ; \
	if diff $(srcdir)/po/POTFILES.in $(srcdir)/po/POTFILES.in.2 >/dev/null 2>&1 ; then \
		rm -f $(srcdir)/po/POTFILES.in.2 ; \
	else \
		mv $(srcdir)/po/POTFILES.in.2 $(srcdir)/po/POTFILES.in ; \
	fi
	cd po && $(MAKE) $(AM_MAKEFLAGS) update-po

update-gmo: check-gettext
	cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo

force-update-gmo: check-gettext
	touch po/*.po
	cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo


.PHONY: check-gettext update-po update-gmo force-update-gmo