File: Makefile.am

package info (click to toggle)
intltool 0.51.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,020 kB
  • sloc: sh: 747; xml: 399; perl: 213; makefile: 189; ansic: 133
file content (51 lines) | stat: -rw-r--r-- 1,171 bytes parent folder | download | duplicates (2)
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
## Process this file with automake to produce Makefile.in

SUBDIRS = tests doc

# Scripts which are bundled with all intltoolized packages:
distributed_scripts =				\
	intltool-extract			\
	intltool-merge				\
	intltool-update

# The intltool scripts
bin_SCRIPTS =					\
	$(distributed_scripts)			\
	intltoolize				\
	intltool-prepare

# These are required by intltoolize
dist_pkgdata_DATA =	Makefile.in.in

# This macro file should be visible to Automake's aclocal.
dist_aclocal_DATA = intltool.m4

CLEANFILES =					\
	$(bin_SCRIPTS)				\
	$(EXTRA_SCRIPTS)

EXTRA_DIST =					\
	$(distributed_scripts:=.in)		\
	intltool-prepare.in			\
	NEWS					\
	ChangeLog

edit = sed -e 's|[@]PACKAGE@|$(PACKAGE)|g' \
	   -e 's|[@]VERSION@|$(VERSION)|g' \
	   -e "s|[@]INTLTOOL_PERL@|$(PERL)|g" \
	   -e "s|[@]INTLTOOL_LIBDIR@|$(libdir)|g"

%: %.in Makefile
	$(edit) < $< > $@
	chmod +x $@

ChangeLog:
	@if test -z "$(BZR)"; then \
	    echo "bzr is required for generating the ChangeLog."; \
	    exit 1; \
	elif test ! -d "$(srcdir)/.bzr"; then \
	    echo "ChangeLog can only be generated in a check-out."; \
	    exit 1; \
	else \
	    $(BZR) log --gnu-changelog -l 50 > $@; \
	fi