File: Makefile.am

package info (click to toggle)
pacemaker 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 68,576 kB
  • sloc: xml: 160,564; ansic: 143,744; python: 5,670; sh: 2,969; makefile: 2,426
file content (43 lines) | stat: -rw-r--r-- 1,112 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
#
# Copyright 2003-2024 the Pacemaker project contributors
#
# The version control history for this file may have further details.
#
# This source code is licensed under the GNU General Public License version 2
# or later (GPLv2+) WITHOUT ANY WARRANTY.
#

include $(top_srcdir)/mk/common.mk

MAINTAINERCLEANFILES += config.h.in

noinst_HEADERS	        = config.h 		\
			  crm_internal.h	\
			  doxygen.h		\
			  pacemaker-internal.h	\
			  portability.h 	\
			  gettext.h
pkginclude_HEADERS	= crm_config.h 		\
			  pacemaker.h

SUBDIRS                 =  crm pcmki

# gettext.h is supplied by the gettext project

GETTEXT_H		?= $(datadir)/gettext/gettext.h

.PHONY: update-gettext
update-gettext:
	@if [ ! -e "$(GETTEXT_H)" ]; then				\
		echo "$(GETTEXT_H) not found";				\
	else								\
		cp "$(GETTEXT_H)" gettext.h;				\
		"$(GIT)" diff --quiet gettext.h 2>/dev/null;		\
		if [ $$? -eq 0 ]; then					\
			echo "No update needed";			\
		else							\
			"$(GIT)" add gettext.h;				\
			echo 'Review changes then run:';		\
			echo 'git commit -m "Low: NLS: update gettext.h from upstream"'; \
		fi							\
	fi