File: Makefile.am

package info (click to toggle)
gss-ntlmssp 0.7.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 2,168 kB
  • ctags: 884
  • sloc: ansic: 9,283; sh: 4,373; makefile: 241; xml: 150
file content (41 lines) | stat: -rw-r--r-- 940 bytes parent folder | download | duplicates (7)
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

LINGUAS = @LINGUAS@
MOFILES = $(LINGUAS:%=%.mo)
POFILES = $(LINGUAS:%=%.po)

noinst_DATA = $(MOFILES)

SUFFIXES = .mo

.po.mo:
	rm -f  && $(MSGFMT) -o $@ $<

clean-local:
	rm -f $(MOFILES)

install-data-hook: all
	linguas="$(LINGUAS)"; \
	for l in $$linguas; do \
	  dir="$(DESTDIR)$(localedir)/$$l/LC_MESSAGES"; \
	  $(mkdir_p) $$dir; \
	  echo Installing $$l.mo to $$dir/$(PACKAGE).mo ; \
	  $(INSTALL_DATA) $$l.mo $$dir/$(PACKAGE).mo; \
	done

uninstall-hook:
	linguas="$(LINGUAS)"; \
	for l in $$linguas; do \
	  file="$(DESTDIR)$(localedir)/$$l/LC_MESSAGES/$(PACKAGE).mo"; \
	  if [ -r "$$file" ]; then \
	    echo "Removing $$file"; rm -f "$$file"; \
	  fi ; \
	done

# $(PACKAGE).pot is built by a rule in the parent directory Makefile
# This rule isn't needed but is here for convenience if manually invoked
.PHONY: $(PACKAGE).pot
$(PACKAGE).pot:
	$(MAKE) -C .. po/$@

EXTRA_DIST = $(POFILES) LINGUAS
DISTCLEANFILES=$(PACKAGE).pot