File: Makefile.am

package info (click to toggle)
lingot 1.0.1-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 908 kB
  • sloc: ansic: 6,065; makefile: 145; xml: 47; sh: 7
file content (60 lines) | stat: -rw-r--r-- 1,416 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
53
54
55
56
57
58
59
60
## Process this file with automake to produce Makefile.in
## Created by Anjuta - will be overwritten
## If you don't want it to overwrite it,
## 	Please disable it in the Anjuta project configuration

SUBDIRS = po src icons test

ACLOCAL_AMFLAGS = -I m4

lingotdocdir = ${docdir}
lingotdoc_DATA = \
	README \
	COPYING \
	AUTHORS \
	ChangeLog \
	NEWS \
	THANKS

DISTCLEANFILES = \
	intltool-extract.in \
	intltool-extract \
	intltool-merge.in \
	intltool-merge \
	intltool-update.in \
	intltool-update \
	intl/* \
	m4/* \
	po/Makefile.in.in

gnomemenudir = $(prefix)/@NO_PREFIX_PACKAGE_MENU_DIR@
gnomemenu_DATA = org.nongnu.lingot.desktop
appdatadir = $(datadir)/metainfo
appdata_DATA = org.nongnu.lingot.appdata.xml

dist_man_MANS = lingot.1


EXTRA_DIST = \
	$(lingotdoc_DATA) \
	$(appdata_DATA) \
	build-aux/gitlog-to-changelog \
	bootstrap

dist-hook: gen-ChangeLog copy-SpecFiles

# Creates the ChangeLog from the git history. Extracted from GNU Hello
.PHONY: gen-ChangeLog
gen-ChangeLog:
	chmod u+w ${distdir}/ChangeLog # to pass distcheck
	$(top_srcdir)/build-aux/gitlog-to-changelog > $(distdir)/ChangeLog
	
# Copy all the spec files. Of course, only one is actually used.
copy-SpecFiles:
	$(MAKE) -C "$(srcdir)/po" "$(GETTEXT_PACKAGE).pot"
	cp "$(srcdir)/po/$(GETTEXT_PACKAGE).pot" "$(distdir)/po/"
	for specfile in *.spec; do \
		if test -f $$specfile; then \
			cp -p $$specfile $(distdir); \
		fi \
	done